Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 2.01 KB

CHANGES.md

File metadata and controls

50 lines (37 loc) · 2.01 KB

Changelog

0.44.0

  • add match/interpolate/zoom convenience functions, somewhat experimental

0.43.0

  • revert to internally using map.addLayer rather than map.setStyle for performance

0.42.0

  • fixed UMD packaging some more by removing esmodules: true from rollup config.

0.41.0

  • fix UMD packaging (thanks @lasseborly!)
  • fix ESM packaging (class properties not transformed properly)
  • update to Mapbox GL Style Spec 13.22 ("sky" properties)

0.40.0

  • rename to Map-GL-JS and explicitly support Maplibre GL JS
  • add Flow types
  • add JSdocs and use documentation.js to make documentation
  • change the packaging again, so dist/index.esm.js is the default, ES module, and umd/index.js is the UMD module.

0.39.0

  • remove kebab-case dependency

0.38.0

  • scrapped the CommonJS build. NodeJS is able to handle ES modules these days.
  • rewrote the "arrayify" logic
  • correctly handle 'hover' transitions across overlapping layers
  • probably correctly gives an "off" handler so this kind of thing works: const off = map.U.hoverPointer(['layer1','layer2']); /* ... */ off()
  • more tests

0.37.0

  • onLoad() now returns a promise if no callback provided.

0.36.0

0.35.0

  • added fontsInUse() function #26
  • added getLineColor(), getTextFont() etc #24
  • change: addXLayer() and addX() are now idempotent: call once to add layer/source, again to update. #25
  • change: allow passing no data to setData() #19
  • bugfix: addVector() with extra argument didn't work #22
  • new change log :)