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

Fix 'mapbox-layers' metadata for raster layers #800

Merged
merged 1 commit into from Feb 17, 2023
Merged

Conversation

ahocevar
Copy link
Member

Currently, when a raster source is used more than once in a map, the mapbox-layers metadata field will incorrectly list all the layers that use the source, instead of just the one that is actually represented by the OpenLayers layer.

This pull request fixes that, i.e. for raster layers, mapbox-layers will always only contain a single entry.

@ahocevar ahocevar merged commit f375e78 into main Feb 17, 2023
@ahocevar ahocevar deleted the fix-raster-metadata branch February 17, 2023 10:35
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

Successfully merging this pull request may close these issues.

None yet

1 participant