On Apr 23, 3:46 am, Jason Sanford <[email protected]> wrote:
> Hi TND
> What you could do is create a circle (google.maps.Circrle) with a radius of
> 20,25,50 miles with a transparent fill and stroke (unless you want them to
> see the circle) then tell the map to .fitBounds to the circle's .getBounds

We have exactly the same idea! My posting just appeared first though
you have posted more than an hour before.

I would like to underline that you don't have to add the circle on map
if you don't like to. getBounds() is working if the circle is on map
or not.

To make sure I made a test page:
http://koti.mbnet.fi/ojalesa/v3/circleAndBounds.htm

-- 
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.

Reply via email to