How to get double click event on Google map marker

In my application, I display a Google map with several markers. In this case, I have a click event and an information retrieval window. But I need, when I double-click the marker, some other page should be displayed with detailed information about this marked place. Since I will have different pages for each marker, how can I redirect to the corresponding page by double-clicking on the marker? Please help me.

+4
source share
1 answer

you can use

google.maps.event.addListener(marker, "dblclick", function (e) { log("Double Click"); }); 

For reference: https://developers.google.com/maps/documentation/javascript/examples/marker-labels

+17
source

All Articles