Select to view content in your preferred language

Client labels stream layer Experience builder dev custom widget

55
0
yesterday
Labels (2)
wadsonmakari
Occasional Contributor

Hi all,

I am developing a custom widget by extending experience builder dev 1.16 in a disconnected environment. I am hosting the font files as described here https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-fonts-issue/td-p/102068

I am also overriding the fontsUrl  as below 

esriConfig.fontsUrl = 'https://my.host.server/fonts';

 

I have checked that the font files are accessible but my labels are not appearing and my console displays the message below.

wadsonmakari_0-1768916702442.png

It looks like the https://mydevmachine:3001/jimu-core/index.js file still has a reference to https://static.arcgis.com/fonts event though I have set it to local resource as show above. Is there another reference  to the online fonts that I may need to manually change so I can get the labels to work?

I am also checking that the fontsUrl is set to the local resource but I am still getting the above error message. Any pointers will be much appreciated.

The intention is to only label a few selected feature from the stream layer

Regards,

 

 

 

 

0 Kudos
0 Replies