singleclick event support for L.Map
HTML JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore cleanup Apr 30, 2015
LICENSE license Apr 30, 2015
README.md
index.html
singleclick.js setup Apr 30, 2015

README.md

singleclick for Leaflet 0.7.*

This plugin extends L.Map to fire the singleclick event. The singleclick event is not part of Leaflet's core, and most likely never will be: #108

Note: For Leaflet 0.8 it could be possible to extend L.Evented instead, to have also Marker etc. support the singleclick event.

live example

http://outdooractive.github.io/leaflet-singleclick_0.7/