setRTLTextPlugin

fun setRTLTextPlugin(pluginUrl: String, deferred: Boolean = false)

Sets the map's RTL text plugin. Necessary for supporting the right-to-left text direction found in languages like Arabic and Hebrew.

Parameters

pluginUrl

URL pointing to the Mapbox RTL text plugin source.

deferred

If true, the plugin will not be loaded immediately but deferred until needed.