You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Esri Leaflet Vector to add vector tile basemap layers in other languages, on some langauges (like Arabic) the text labels do not show on in the layer.
Take the layer ID from that web map, add it to a leaflet map using L.esri.Vector.vectorTileLayer("bd47af4aad0847909b3ccd255a429092").addTo(map);: https://jsbin.com/resuqol/3/edit?html,output
Take the layer ID from that web map, add it to a leaflet map using L.esri.Vector.vectorTileLayer("3942a6195c51412c8bb75f1fe82d9a5d").addTo(map);: https://jsbin.com/xafutow/2/edit?html,output
Expected: layer loads just like in ArcGIS Online
Actual: text not loading ❌
Potential Cause
If you look at the style root.json, you'll see that text-font is an array, and the layer should "Fall back" to the second font if the first one is not found.
Is it possible that this "falling back" to Arial Unicode MS Regular is not happening and thus the font is not showing?
The text was updated successfully, but these errors were encountered:
Issue summary
When using Esri Leaflet Vector to add vector tile basemap layers in other languages, on some langauges (like Arabic) the text labels do not show on in the layer.
Italian is working:
See web map 4d1c336e57504552a04552600122f96a:
L.esri.Vector.vectorTileLayer("bd47af4aad0847909b3ccd255a429092").addTo(map);
: https://jsbin.com/resuqol/3/edit?html,outputArabic is not working:
See web map 8e0c793963b74220b0d18bbd332372cc:
L.esri.Vector.vectorTileLayer("3942a6195c51412c8bb75f1fe82d9a5d").addTo(map);
: https://jsbin.com/xafutow/2/edit?html,outputPotential Cause
If you look at the style root.json, you'll see that
text-font
is an array, and the layer should "Fall back" to the second font if the first one is not found.Is it possible that this "falling back" to
Arial Unicode MS Regular
is not happening and thus the font is not showing?The text was updated successfully, but these errors were encountered: