Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zoomToShowLayer not firing callback #13

Open
aharris opened this issue Apr 20, 2018 · 1 comment
Open

zoomToShowLayer not firing callback #13

aharris opened this issue Apr 20, 2018 · 1 comment

Comments

@aharris
Copy link

aharris commented Apr 20, 2018

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.

@reblace
Copy link
Contributor

reblace commented Sep 22, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants