Esa's Google Maps API examples
Simple circle function
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
The circle function is in the end of the source