localizeLabels

fun StyleInterface.localizeLabels(locale: Locale, layerIds: List<String>? = null)

Extension function to localize style labels

Parameters

layerIds

the id of layers that will localize on, default is null which means will localize all the feasible layers.

locale

the locale that applied for localization