Hi Michael-
Glad to hear you're porting to us!

Re 1- The closest thing we return right now is the "accuracy"  number. Most
developers I know use that for zooming. We announced a month ago that we'll
soon add a "bounding box" output in the geocoder, to make it easy to zoom to
the optimal bounds. That change has not gone out yet.

Re 2- I use this to calculate the radius of the map:

   var bounds = map.getLatLngBounds();
   var radius = bounds.getCenter().distanceFrom(bounds.getNorthEast());

Hope that helps.

- pamela


On Sat, Nov 1, 2008 at 4:41 PM, Michael Allman <[EMAIL PROTECTED]>wrote:

>
> I am porting a Flex mapping application from the Yahoo! maps library
> to the Google maps library and have run into a couple of roadblocks
> along the way.
>
> 1.  Yahoo! maps geocoder returns a zoom level with a geocoding result
> to indicate the natural or best fit zoom level for a given address.
> Google maps geocoder doesn't seem to.  How do I get the natural zoom
> level for a given location?  (For example, Google Maps, the main site,
> has this feature.  Search for 'Los Angeles' and the map zooms to the
> right level.)
>
> 2.  Yahoo! maps library comes with a utility function
> RadiusConversion.zoomToRadius that converts a map zoom level to a map
> radius in meters.  How do I compute this with the Google maps library?
>
> Cheers,
>
> Michael
> >
>

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