| |||[EMAIL PROTECTED] wrote:
> Hi;
>
> I need view all the markers created on the map on the same time...
>
> There's a function that returns de bounds of the farest markers?
>   
You have to keep track of the bounds  and markers you add yourself

var bounds = new GLatLonBounds();
as you add each marker
use the extend method ...

map.setCenter(bounds.getCenter(),map|||.getBoundsZoomLevel(bounds))


If you are using kml there is a different method
|
> With that information, how can I calc the center and the zoom level to
> make sure that
> all markers will be visible at the same time?
>
> Thanks in advance
> Tiago
>
> >
> .
>
>   


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