Hi Mahmood-

Not directly, but you can convert a radius into a bounds, and then use
that to center the map.

The following example shows how to calculate the LatLngs for a radius
around a center point:
http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CircleDemo/CircleDemo.html

You could add those LatLng objects to a bounds object, and then do:
map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));

There are likely other ways to do it as well.

- pamela

On Mon, Sep 7, 2009 at 7:03 PM, Mahmood<[email protected]> wrote:
>
> Hi all,
>
> Am wondering if there is any way to zoom a map such that the area
> covers a radius of user defined number of meters of kilometers.
>
> Grateful,
> - mahmood
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to