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

Google Maps panning after clicking zoom does not pan. #287

Closed ghost closed 9 years ago

ghost commented 10 years ago

On the example: http://tombatossals.github.io/angular-leaflet-directive/examples/googlemaps-example.html

Both panning and zooming break if you use the +/- buttons to zoom immediately after loading. Panning and Zooming otherwise tend to work if you do not click on the +/- right after the map loads. SCROLLING to zoom right after map load does not encounter this problem; only clicking does.

tombatossals commented 9 years ago

This must be related with the Google Maps integration of https://github.com/shramov/leaflet-plugins.

I'm closing this, please reopen if you think this has to be revised.