localizeLabels

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

Extension function to localize style labels

Parameters

locale

the locale that applied for localization

layerIds

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