On Apr 7, 3:13 am, GMapDev <[email protected]> wrote: > 1. I have multiple GMarker points on the map > 2. Each marker has an InfoWindow that opens when the marker is clicked > 3. As soon as the InfoWindow opens the map moves to a new position > (auto pans) if the marker is close to the edge of the map > > I would like to disable this (auto pan) behavior of the map where it > changes its view if an InfoWindow of a marker is clicked. Is this > possible? If yes can someone tell me how to go about it. >
http://groups.google.com/group/Google-Maps-API/browse_frm/thread/321097201ea74cf3/f23692008bb1b164?lnk=gst&q=suppressMapPan++undocumented#f23692008bb1b164 "the [undocumented] option {suppressMapPan:true} so that opening the infoWindow doesn't move the map." http://econym.org.uk/gmap/reference.htm#openInfoWindow Warning: undocumented options can change at any time. Beware of using them on production maps. -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
