Closed jansule closed 10 months ago
Thanks for the reviews. @KaiVolland could you take another look at the code? I just rebased against current master and applied some changes
:tada: This PR is included in version 5.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This keeps track of the
source
andlayer-source
properties of a mapbox style layer. Through this, we are able to keep the references to sources and source-layers to/from rules when parsing multiple times. This also enables the assignment of geostyler rules to specific sources, which is needed when creating new styling instructions that were not yet present in a mapbox style.BREAKING CHANGE: This makes the previously omitted
source
property of a mapbox style required. So we are actually conformant with the mapbox style specification in that regard. This breaking change probably affected mostly our tests, which were adjusted.depends on https://github.com/geostyler/geostyler-mapbox-parser/pull/287