localizeLabels

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

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