Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/outdooractive/leaflet-singleclick_0.7
singleclick event support for L.Map
https://github.com/outdooractive/leaflet-singleclick_0.7
Last synced: 5 days ago
JSON representation
singleclick event support for L.Map
- Host: GitHub
- URL: https://github.com/outdooractive/leaflet-singleclick_0.7
- Owner: Outdooractive
- License: apache-2.0
- Created: 2015-04-30T12:22:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-30T18:29:47.000Z (about 7 years ago)
- Last Synced: 2024-08-07T23:39:16.277Z (3 months ago)
- Language: HTML
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 6
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/Leaflet/Leaflet/issues/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/