-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
bugA bug is found inside the code base and should be immediately brought to attention ASAPA bug is found inside the code base and should be immediately brought to attention ASAPlocalization-plugin
Description
The map localization plugin added in #74 only works if a text-field property is set to a constant value that uses the legacy token syntax, e.g. {name_en}. In a style such as Mapbox Streets, some layers’ text-fields are set to camera functions, so they remain unlocalized. To make matters worse, future versions of these and other styles will be written for versions of the SDK that support expressions. {name_en} will become ["get", "name_en"], so this plugin will end up having no effect whatsoever.
/ref mapbox/mapbox-gl-native#10713 mapbox/mapbox-gl-js#6197
/cc @langsmith @tobrun
Metadata
Metadata
Assignees
Labels
bugA bug is found inside the code base and should be immediately brought to attention ASAPA bug is found inside the code base and should be immediately brought to attention ASAPlocalization-plugin