Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unit of circle radius in google maps javascript api?

I'm trying to draw a circle with radius X kilometers, but it occurred to me that the radius option isn't being measured in km, since the api example has a radius of 400,000 but only actually goes out about 500 miles.

does anyone know what unit it's using?

like image 449
temporary_user_name Avatar asked Mar 26 '12 02:03

temporary_user_name


People also ask

How do you find the radius of a circle on Google Maps?

If you're using CalcMaps, click on Draw a circle and add the circle on the map area you're interested in. Use can then use the drop-down menu to select the radius type you want to use. The tool automatically calculates the circle area as well.

Can Google Maps draw a circle of given radius?

Google Map Developers Distance is given in feet, meters, kilometers, and miles. Draw a circle - Enter a radius then click a point or enter an address to draw a circle on a google map.

How do you find the diameter on Google Maps?

Click 'Draw A Circle', then click on the map and drag your cursor to create the circle. To adjust the size or the position of the circle simply click on the circle to make it editable. Then drag the orange dot to change the size of the circle or click, hold and drag the blue dot to move the position of the circle.


1 Answers

The standard unit is meters. Use math to adjust.

like image 91
temporary_user_name Avatar answered Sep 30 '22 19:09

temporary_user_name