For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Function setRTLTextPlugin
Parameters
- pluginURL: string
URL pointing to the Mapbox RTL text plugin source.
- lazy: boolean
If set to
true, maplibre will defer loading the plugin until rtl text is encountered, rtl text will then be rendered only after the plugin finishes loading.
Returns Promise<void>
Deprecated
MapLibre shapes Arabic and reorders bidirectional text itself, so nothing has to be loaded for right-to-left languages to be drawn correctly. A plugin set here still replaces the built-in implementation, but this will be removed in a future release.
- pluginURL: string
Sets the map's RTL text plugin.