pittss / goMap

jQuery plugin for google maps api v3
http://www.pittss.lv/jquery/gomap/
32 stars 10 forks source link

Added "double" value to the "addMarker" method, for doubleclicks #7

Open javisperez opened 10 years ago

javisperez commented 10 years ago

I had the need to add the marker on double click instead of single click, so i duplicated the single click method and added a "dblclick" event. That way it can be called like "addMarker: double" to add it with doubleclick