On Sep 4, 1:00 pm, "Heston James - Cold Beans"
<[EMAIL PROTECTED]> wrote:
> Good morning all,
>
> I'm looking for some advice on how to have a map centre itself and zoom
> based on the markers which are on the map. I basically want the map to load
> so that you can see all the markers, zoomed in and cantered as best possible
> so that no markers are outside of the visible bounds to start with, Is this
> possible? Has anyone got some working examples of this?

Mike has: http://econym.googlepages.com/basic14.htm

Note that you may need to add a margin to the north edge of your
bounds in order that markers are guaranteed not to be placed outside
the visible map (if a point is just inside the bounds, the marker
could go outside)

> My current code looks something like this:

Er... did you read the posting guidelines?

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