diff --git a/examples/languages.html b/examples/languages.html index 72d256c..b79882f 100644 --- a/examples/languages.html +++ b/examples/languages.html @@ -44,7 +44,7 @@ }).setView([35.7088, 48.8790], 4); - const apiKey = "< YOUR VALID API KEY HERE >"; + const apiKey = "< YOUR ARCGIS API KEY HERE >"; const basemapStyle = "arcgis/outdoor"; @@ -98,6 +98,9 @@ L.control.layers(basemapLayers, null, { collapsed: false }).addTo(map); + // Support RTL languages such as Arabic and Hebrew + L.esri.Vector.setRTLTextPlugin('https://unpkg.com/@mapbox/mapbox-gl-rtl-text@0.2.3/mapbox-gl-rtl-text.js'); +
+ + +diff --git a/examples/rtl-language.html b/examples/rtl-language.html new file mode 100644 index 0000000..176de73 --- /dev/null +++ b/examples/rtl-language.html @@ -0,0 +1,58 @@ + + +
+ + +
+ + + + + + + + + + + + + + + + +
+