dblclick

type position
init
$( selector ).geomap( {
  dblclick: function( e, geo ) { }
} );
bind
$( selector ).bind( "geomapdblclick", function( e, geo ) { } );
} );

The dblclick event triggers when the user double-clicks or double-taps a point on the map. However, it only triggers if the user is not currently performing some other action which might be handled internally by the widget.

The geo argument is a GeoJSON Point object of the clicked location in map coordinates.

The default action for a double-click/tap is to zoom the map in one level. However, as a developer you can override this by calling e.preventDefault() in your callback.

$( "#map" ).geomap( {
  dblclick: function( e, geo ) { e.preventDefault(); }
} );