-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add support for image sprites #583
Conversation
BREAKING CHANGE: IconSymbolizer.image can be a Sprite
Is this really a breaking change? It only adds functionality and does not add/break old functionality (as far as I see). |
It will break old functionality if you make use of a Sprite. Parsers and UI wont be able to handle this and potential crash or throw errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! I also see it as a breaking change, since when upgrading, other devs have to add additional type checks for ImageSymbolizer.image
.
🎉 This PR is included in version 8.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This adds support for sprites to the IconSymbolizer.
It will enhance parsing mapbox styles as they fully rely on sprites: https://docs.mapbox.com/style-spec/reference/sprite/#sprite-files
IMHO it is a breaking change as the UI and other parsers will fail handling a style with a
Sprite
.BREAKING CHANGE:
IconSymbolizer.image can be a Sprite
Related to geostyler/geostyler-mapbox-parser#290