diff --git a/example/src/main.ts b/example/src/main.ts index f3c9042..a56606b 100644 --- a/example/src/main.ts +++ b/example/src/main.ts @@ -5,8 +5,7 @@ import maplibregl from "maplibre-gl"; // Set the RTL text plugin once at the application level maplibregl.setRTLTextPlugin( "https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js", - null, // Set the second argument to `false` to avoid throwing an error if called multiple times - true // This enables the plugin to be lazy loaded when needed + true ); const app = new App({