Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6818701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:12:41+00:00 2026-05-26T21:12:41+00:00

I created a circle using the Google Maps V3 API and also tried to

  • 0

I created a circle using the Google Maps V3 API and also tried to make a circle of markers with the same radius.

Problem: The one I created is oblique while the one by Google Maps is a nice round circle. What went wrong?

Google Maps V3 Circle Code

// Draw search circle
search_circle = new google.maps.Circle;
search_circle.setCenter(target_latlng);
search_circle.setRadius(travel_time * average_speed);
search_circle.setMap(map);

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:12:42+00:00Added an answer on May 26, 2026 at 9:12 pm

    One thing you need to remember here, the google circle is giving the distance between two points on a sphere (the earth) which is why your circle doesn’t look the same.

    You did not specify what the purpose of the circle in your example is, but from the code snippet I can tell it has something to do with travel distances. In that case you might be interested to look into :

    The Haversine Formula

    or

    The Spherical Law of Cosines

    Also this page could provide you with some basis on how to tweak your formula to get the correct circle shape.

    Edit: For the sake of correctness, the earth is not a perfect sphere, but for all practical purposes it is assumed to be one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the MarkerCluster.js to create clustering in my google maps api. The
I've created a 200x200 circle in a custom UIView. I am using the following
I have created different shapes like circle/rect etc in my program using BufferedPaintDC on
I'm trying to add markers to a map on my page using Google's Javascript
I created a circle using paint (Circle.jpg) and placed 4 numbers for now around
I'm using the buffer method from the GEOS API to create a circle based
Im currently developing a project using Google Maps. The whole function that im stucked
I have created a User Control using graphic's fill property. It's a circle. It's
I'm using olwidget inside of django to draw some maps. In one of my
I created a program using dev-cpp and wxwidgets which solves a puzzle. The user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.