the KmBox addin written by Esa Ojala seems to work ok (for browsers that
support .pngs well).
e.g.
var KmOpts = {
imageSrc: "blue_circle.png?open",
kmX: parseFloat(miles) / 0.621371192 * 2, /* convert miles to
km, and radius to diameter*/
opacity: 0.30
}
var KmOverlay = new KmBox(map, results[0].geometry.location,
KmOpts);
var totalBounds = new google.maps.LatLngBounds();
totalBounds.union(KmOverlay.getBounds());
map.fitBounds(totalBounds);
On Mon, Dec 28, 2009 at 9:30 PM, Mike <[email protected]> wrote:
> I am at square one, I did some searching and didn't find anything.
>
> Is there an example or documentation somewhere in V3, that shows how
> to implement a radius circle around a point?
>
> Thanks in advance,
> Mike
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.