Hi Jonathan,

I want to change the radius by slider and the Map zoom level will update
automatically when I give different radius. so I can see the area in circle.

I only have center point and radius.I need the Map zoom level change
automatically for different radius.

Thanks

Mark

On Tue, Dec 15, 2009 at 4:54 PM, Jonathan Wagner <[email protected]>wrote:

> Ok I understand. So what you're going to want to do is create a
> LatLngBounds class, and then extend  it with LatLngs that are north,
> south, east, and west of your center point based on your given radius.
> Once you have have the LatLngBounds created you can then use its
> functions to get the appropriate zoom level to have that area in the
> view area. Now to get the Radius.
>
> Now to get the correct radius is a little tricker, here is a website
> you can visit http://www.movable-type.co.uk/scripts/latlong.html . The
> formula you will want to look at will be 'Destination point given
> distance and bearing from start point'
>
> Jonathan
> Scribblemaps.com
>
> On Dec 15, 4:19 pm, Mark Shen <[email protected]> wrote:
> > HI Jonathan;
> >
> > Thank you for your email.
> >
> > I have a location with latitudes and longitudes, I want to do following
> > thing
> >
> > #1. set the location as ceter of Map
> > #2. I want to see the area arond the location.I use the location as
> center
> > of circle,and I have a circle area.
> >      I have couple option for radius (1km,5km,10km,20km etc).I need the
> Map
> > zoom update automitically when I select
> >       different value of radiu
> >
> > I know how to do  1#,but I do not know how to do #2.
> >
> > the idea is similarhttp://
> www.freemaptools.com/radius-around-point.htm.butIdo not need
> > draw the circle and only want to see the circle area.
> >
> > please help me
> >
> > Thanks a lot.
> >
> > Mark
> >
> > On Tue, Dec 15, 2009 at 3:52 PM, Jonathan Wagner <[email protected]
> >wrote:
> >
> >
> >
> > > Could you try to elaborate a little more, I am having a little trouble
> > > understanding what you're trying to accomplish.
> >
> > > Jonathan
> > > Scribblemaps.com
>
> --
>
> 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]<google-maps-api-for-flash%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
>
>

--

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