Skip to content

Releases: geostyler/geostyler-mapbox-parser

Version 2.0.0

19 Oct 11:59
Compare
Choose a tag to compare

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);

v1.0.0...v2.0.0

Version 1.0.0

13 Sep 11:46
Compare
Choose a tag to compare

BREAKING:
Removes some unsupported properties which are no more part of geostyler-style:

  • spacing
  • ignorePlacement
  • translate
  • translateAnchor

bb79587...v1.0.0