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

How to trigger a layout update after addImage? #6824

Closed
hyperknot opened this issue Jun 15, 2018 · 1 comment
Closed

How to trigger a layout update after addImage? #6824

hyperknot opened this issue Jun 15, 2018 · 1 comment

Comments

@hyperknot
Copy link

mapbox-gl-js version: 0.45.0

Question

When addImage is run after a source/layer, the images will never appear on the current integer zoom level. On other zoom levels they display fine.

My JSBin: https://jsbin.com/riwutuw

This is also tracked as a bug here: #6231

My question is that how is it possible to trigger a layout update/re-render for the current zoom?

@jfirebaugh
Copy link
Contributor

Let's keep discussion on #6231.

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