Skip to content

Releases: mapbox/mapbox-gl-language

v1.0.1

20 Dec 16:44
ef8d949
Compare
Choose a tag to compare

Features and improvements

v1.0.0

20 Aug 21:09
09e8612
Compare
Choose a tag to compare

1.0.0

⚠️ Breaking changes

  • Adds support for Mapbox Streets v8 vector tileset and all styles based on this tileset, such as streets-v11 and dark-v10 while removing support for Mapbox Streets v7 vector tileset-based styles. (#39)
  • Removes support for Internet Explorer 11. (#39)
  • Support for Streets v7 Chinese zh is replaced with Traditional Chinese zh-Hant and Simplified Chinese zh-Hans. (#39)
  • Support for token values (e.g. {name}) has been removed. The plugin now expects the text-field property of a style to use an expression of the form ['get', 'name_en'] or ['get', 'name']; these expressions can be nested. Note that get expressions used as inputs to other expressions may not be handled by this plugin. For example:
["match", 
  ["get", "name"], 
  "California", 
  "Golden State", 
  ["coalesce", 
    ["get", "name_en"], 
    ["get", "name"]
  ]
]

(#39)

Features and improvements

  • Add support for Mapbox GL JS v2.0.0+. (#42)
  • Add support for Vietnamese vi. (#43)

Bug fixes

  • Remove unnecessary letter spacing transformations for Arabic. (#44)
  • Prevent potential undefined errors when language input is null. (#45)
  • Ensure that the selected language is retained when switching map styles. (#46)

v0.10.0

11 Jul 09:02
Compare
Choose a tag to compare
  • #22 Add Japanese, Korean to supported languages
  • #18 add option to exclude layers from translation
  • #17 Add local language support