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

Certain reactive properties in layer paint property do not update the map when changed #167

Open
larsmaxfield opened this issue May 16, 2024 · 0 comments
Labels
upstream-issue Issue in Maplibre itself

Comments

@larsmaxfield
Copy link
Contributor

larsmaxfield commented May 16, 2024

This is a known maplibre-gl-js issue maplibre/maplibre-gl-js#3001 — I am reporting the issue here because it affects the svelte-maplibre demo of 3D Terrain.

If terrain is on and reactive properties of the paint property are changed, the map does not immediately reflect some of those changed properties. When terrain is off, this problem does not occur.

For example, changing hillshade-exaggeration does not show a change on the map with terrain on, whereas changing hillshade-illumination-anchor does indeed show a change on the map.

maplibre-paint-property-with-terrain

If I find a (temporary) solution which is easy to implement with this wrapper, I'll add it here.

@dimfeld dimfeld added the upstream-issue Issue in Maplibre itself label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream-issue Issue in Maplibre itself
Projects
None yet
Development

No branches or pull requests

2 participants