Is it possible to draw a circle on a Google static map?

Aneil Mallavarapu picture Aneil Mallavarapu · Sep 22, 2010 · Viewed 7.6k times · Source

The static map API discusses paths, but no mention of circles. Is this possible? Thanks

Answer

Tony Miller picture Tony Miller · Sep 24, 2010

What you could do is use the encoded polyline algorithm to produce enough points to get a roughly circular path. There's definitely coding involved: you'd need to get the center and radius of your circle, turn that into a series of lat/longs, then encode using the algorithm.

As an alternative, you might be able to use a transparent gif image as a marker and put that in your map.