Dear Andrew,

Actually I need http://econym.org.uk/gmap/example_multi2.htm this 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.

Thanks for patience.

Looking for help.

Regards,
Adiyya

On Mon, May 11, 2009 at 7:53 PM, Andrew Leach <andrew.leac...@googlemail.com
> wrote:

>
> On May 11, 3:16 pm, Adiyya Tadikamalla <adiy...@gmail.com> wrote:
> > map.setCenter(bounds.getCenter(),map.getBoundsZoomLevel(bounds))
> >
> > above line it reduces the zoom level. I need zoom level should be maximum
> > and all markeres within boundaries otherwise it should adjust zoom level
> so
> > that all markers should be in boundaries and maximum zoom level.
>
> I don't understand.
>
> There are several ways of displaying markers.
>
> You can select markers according to certain criteria (doesn't matter
> what; just end up with a result set) and then make sure that the map
> is zoomed and centred so that they are all visible. That's what the
> above line does.
>
> Or you can select markers which only appear within the existing
> displayed map, so it doesn't have to change its centre and zoom. In
> this case you need to pass the bounds to your query in order that they
> can be used to limit the selection of markers. Is that what you want
> to do?
>
> 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 Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to