On Feb 26, 7:47 am, Ralph Ames <[email protected]> wrote:
> There is an error in the script that needs to be fixed first
>
> This
> map.centerAndZoomOnBounds(bounds);
>
> should be this
> map.setCenter(bounds.getCenter());

or more likely this (if you want it to both center on and zoom to show
the bounds):
map.setCenter(bounds.getCenter­(),map.getBoundsZoomLevel(boun­ds));

  -- Larry

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