On Jan 23, 4:43 pm, Matias Sanchez <[email protected]> wrote:
> Hello all!
>
> Im building a site where some markers are loaded depending on the
> selected region by the user in a ListBox. All the markers are coords
> are loaded from a database depending if they fit the selected
> parameters. I've been searching for a way to center the map and set a
> good zoom level so that all the markers fit the map.
>
> Those anyone know a way to use the setCenter method to fit all the
> markers? or is it a way to do this in a diferent way?
>
> Any help is deeply appreciated!

Mike Williams' tutorial includes this page:
Part 14 Fitting the map zoom to the data
http://econym.org.uk/gmap/basic14.htm

  -- Larry

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

Reply via email to