On May 11, 4:23 pm, Adiyya Tadikamalla <[email protected]> wrote:
> Dear Andrew,
>
> Actually I needhttp://econym.org.uk/gmap/example_multi2.htmthis type of
> functionality.In this example when we enter start point and end point, map
> adjusts zoom level so that both markers within map displayed area.

I suggested
  map.setCenter(bounds.getCenter(),map.getBoundsZoomLevel(bounds))
which is exactly what Mike does:
  map.setZoom(map.getBoundsZoomLevel(bounds));
  map.setCenter(bounds.getCenter());

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