getStyleFallback

open fun getStyleFallback(styleId: String): String?

Returns the ID of the style to use if the specified @style_id is not present in the current style scheme.

Return

the ID of the style to use if the specified @style_id is not present in the current style scheme or null if the style has no fallback defined. The returned string is owned by the @language and must not be modified.

Parameters

styleId

a style ID.