Hello,
I encountered an issue when rendering FeatureLayer symbology. I found out that the reason is an invalid font URL. I could fix that by developing custom widget that would change esriConfig.fontsUrl.
Is there a way how to change fontsUrl without developing custom widget?
Thanks, Matěj
https://developers.arcgis.com/javascript/latest/labeling/#custom-fonts-and-disconnected-environments
In that case, you will need a custom widget.
Thanks for answer Jeffrey.
That is not the true reason, though. The true reason is that my environment is disconnected from internet. Therefore I`m not able to reach https://static.arcgis.com/.
I`m pretty sure that all I need to do is set the fontsUrl.
Chances are the error you are seeing is because the font you are using is not one of the fonts hosted by ESRI. The best solution would probably be switching your symbology to one of the supported fonts. https://developers.arcgis.com/javascript/latest/labeling/#non-mapimagelayer-fonts
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.