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

setRadius should invalidateSize of glassMap #16

Open
StefanBrand opened this issue Jul 19, 2019 · 0 comments
Open

setRadius should invalidateSize of glassMap #16

StefanBrand opened this issue Jul 19, 2019 · 0 comments

Comments

@StefanBrand
Copy link

For the same reason we call invalidateSize() after magnifyingGlass has been added, we should call it after resizing the container. Tiles don't get loaded properly when you increase the radius (e.g. from 140 to 280).

// needed after the element has been added, otherwise tile loading is messy
this._glassMap.invalidateSize();

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

1 participant