Releases: geostyler/geostyler-mapbox-parser
Releases · geostyler/geostyler-mapbox-parser
Version 2.0.0
Breaking
- update parser to comply geostyler-style v5 b9eefdb
Migration-Guide:
The output of the readStyle
and writeStyle
methods has changed from the pure style to the ReadStyleResult
/WriteStyleResult
.
Version <2:
// read
const geostylerStyle = await mapboxParser.readStyle(someMapboxStyle);
// write
const mapboxStyle = await mapboxParser.writeStyle(geostylerStyle);
Version >=2:
// read
const { output: geostylerStyle } = await mapboxParser.readStyle(someMapboxStyle);
// write
const { output: mapboxStyle } = await mapboxParser.writeStyle(geostylerStyle);
Version 1.0.0
BREAKING:
Removes some unsupported properties which are no more part of geostyler-style:
spacing
ignorePlacement
translate
translateAnchor