# click

type | position

init

`

    $( selector ).geomap( {
      click: function( e, geo ) { }
    } );

`

bind

`

    $( selector ).bind( "geomapclick", function( e, geo ) { } );
    } );

`

The click event triggers when the user clicks or taps a point on the map and then lets go at the same point within a short time threashold. 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.