Skip to content

v0.3.0

Choose a tag to compare

@1ec5 1ec5 released this 23 Dec 02:09
· 43 commits to main since this release

Changes since v0.2.1:

  • maplibregl.Map.prototype.localizeStyle() is also available as maplibregl.Diplomat.localizeStyle(), for use when importing Diplomat as a module. (#14)
  • Added the sourceLayers option to maplibregl.Diplomat.localizeStyle() for making localizable a set of style layers associated with certain source layers. (#16)
  • Added the glossLocalNames option to maplibregl.Diplomat.localizeStyle() for appending the name in the local language to any style layer that the method makes localizable. (#23)
  • Minified the built code for a 65% reduction in size. (#15)