Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Extent change from initialExtent doesn't trigger canGoToPrevious change #1

Closed
davetimmins opened this issue Sep 9, 2016 · 2 comments
Labels

Comments

@davetimmins
Copy link
Owner

Pan works as expected but not zooming in/out. The canGoToPrevious property doesn't update and so the UI doesn't correctly reflect the state, although the extent is still stored correctly.

@davetimmins davetimmins added the bug label Sep 9, 2016
@ycabon
Copy link

ycabon commented Sep 9, 2016

watching view.stationary would be better than view.interacting. stationary is a combo of !view.interacting and !view.animation.

@davetimmins
Copy link
Owner Author

Cool, that fixes both issues, only have to watch stationary and not viewpoint too. Storing the viewpoint though as you suggested.

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

No branches or pull requests

2 participants