- Add TypeScript types. (#58 h/t @Phillip9587)
- Adds support for Mapbox Streets v8 vector tileset and all styles based on this tileset, such as
streets-v11
anddark-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 Chinesezh-Hant
and Simplified Chinesezh-Hans
. (#39) - Support for token values (e.g.
{name}
) has been removed. The plugin now expects thetext-field
property of a style to use an expression of the form['get', 'name_en']
or['get', 'name']
; these expressions can be nested. Note thatget
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)