Created
January 3, 2014 18:36
-
-
Save knownasilya/8243613 to your computer and use it in GitHub Desktop.
leaflet events
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map.on({ | |
click: function (event) { | |
view.trigger('mapClick', event); | |
}, | |
popupopen: function (event) { | |
view.trigger('mapPopupOpen', event); | |
}, | |
move: function (event) { | |
view.trigger('mapMove', event); | |
} | |
}, view); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment