[Google Maps API v2] How can I custom the double clicked event in Google Maps?
Hi guys,
I want to know if I can custom the double clicked event in Google
Maps? As follows is my code, Could someone do me a favor?
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(37.4419, -122.1419),
13);
map.setUIToDefault();
map.disableDoubleClickZoom();
GEvent.addListener(map,"dbclick",function(){
alert("blessdyb");
});
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home