- Radius given as kilometers seems to be often asked
- Pixel or degree radius are easier to make
- Two tricks to simplify circle function:
- Api's .distanceFrom() method is used for finding km/degree ratios for lat and lng.
- 360 step for-loop simplifies calculation
- Radius:
- km
- Quality:
- segments
- The circle function is in the end of the source

- gmapsapiATgmailDOTcom
- Example index

Map...