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 635 forks source link

Map jumps to new center position when double-clicked #292

Closed perqa closed 9 years ago

perqa commented 10 years ago

In the left-hand example (bicycle map, etc) on http://tombatossals.github.io/angular-leaflet-directive/#!/, if I double-click a point int the map, it will zoom, as expected, but it will also jump to a new location - outside the original map frame (usually north, it seems).

tombatossals commented 9 years ago

Can't notice this behaviour now, it must has been solved in a previous commit. Please reopen if needed. Thanks