---
title: "getRTLTextPluginStatus | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Function getRTLTextPluginStatus

-   getRTLTextPluginStatus(): string[](#getrtltextpluginstatus)
    
    Gets the map's [RTL text plugin](https://www.mapbox.com/mapbox-gl-js/plugins/#mapbox-gl-rtl-text) status. The status can be `unavailable` (i.e. not requested or removed), `loading`, `loaded` or `error`. If the status is `loaded` and the plugin is requested again, an error will be thrown.
    
    #### Returns string
    
    #### Deprecated[](#deprecated)
    
    The status says nothing about whether right-to-left text can be drawn, which it always can be. It reports only on a plugin set through the deprecated [setRTLTextPlugin](https://docs.maptiler.com/sdk-js/api-reference/functions/setRTLTextPlugin/).
    
    #### Example[](#example)
    
    ```typescript
    const pluginStatus = getRTLTextPluginStatus();
    ```
