Skip to content

Remove textField constant value check #855

@LukasPaczos

Description

@LukasPaczos

In mapbox/mapbox-gl-native#13306 and effectively Maps SDK v7.0.0 we've removed the plain text getter for the text-field property, but we've never adjusted the plugin. Right now, if there's a layer in the style, or added dynamically, with a constant text-field value, the localization will crash on this cast. Fortunately, the streets-v7 and streets-v8 contain only data-driven text fields which is hiding the bug.

Additionally, even legacy tokens are now returned as format expressions, which makes the token conversion logic obosolete and should be removed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions