Hi
I am stuck in very simple level. In my code am disabling
doubleClickZoom and using doubleClick for Event handling. But whenever
I double click on the map, the map pans to the point of double click
as center. Any way to stop this to happen.
Here is the code am using:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(42.16, -100.72), 4);
map.disableDoubleClickZoom();
GEvent.addListener(map, "dblclick", function(overlay,latlng){
var marker = new GMarker(latlng);
map.addOverlay(marker);
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---