singleclick event support for L.Map
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.html
singleclick.js

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/