tombatossals / angular-leaflet-directive

AngularJS directive to embed an interact with maps managed by Leaflet library
http://tombatossals.github.io/angular-leaflet-directive
MIT License
1.5k stars 637 forks source link

"Single marker example" example not working? #828

Closed pglotov closed 9 years ago

pglotov commented 9 years ago

While trying to debug an issue in my code I tried one of the examples

http://tombatossals.github.io/angular-leaflet-directive/examples/0500-markers-simple-example.html

and it doesn't seem to work, the marker can be dragged but its lat/lon value numbers in the bottom of the screen don't change. Is this by design?

tombatossals commented 9 years ago

Yess, the examples weren't in sync with the last changes to the library. I have updated them.

The change is that now you can specify the events that you want to enable in the markers, for example:

events: {
    markers:{
        enable: [ 'dragend' ]
    }
}