ngx-leaflet-markercluster icon indicating copy to clipboard operation
ngx-leaflet-markercluster copied to clipboard

zoomToShowLayer not firing callback

Open aharris opened this issue 6 years ago • 1 comments

In certain situations the zoomToShowLayer callback is not fired.

I have created a reproduction of this issue:

https://plnkr.co/edit/PZlXx7gZQXQ9bees6GbB?p=preview

Steps to reproduce:

  1. Click the "Jump" button
  2. Notice it should log out "callback fired!!!" but it does not
  3. Zoom out slowly and eventually the callback will fire.

I have created this same example without angular and the same issue does not exist:

https://jsfiddle.net/aharris/pdt8kq4o/

Clicking jump fires the callback every time.

aharris avatar Apr 20 '18 15:04 aharris

I briefly looked into this but couldn't figure out what was going on (though I did reproduce it). Have you had any luck tracking this down?

reblace avatar Sep 22 '18 02:09 reblace