Select to view content in your preferred language

mapview-invalid-resource font

2419
1
Jump to solution
01-06-2022 09:09 AM
GregoryBologna
Frequent Contributor

I just updated to js api version 4.22. When starting a new measure using either DistanceMeasurement2D or AreaMeasurement2D widgets, I am getting a 404 for font sans-serif-regular. I do not specify font-family, but I believe we use this font to design layers in ArcGIS Pro. Measure widgets do work, however. Do we need to republish layers using a different font?

GET https://static.arcgis.com/fonts/sans-serif-regular/0-255.pbf 404

(index):105 [esri.views.2d.engine.webgl.TextureManager] l {name: 'mapview-invalid-resource', details: undefined, message: "Couldn't find font sans-serif-regular. Falling back to Arial Unicode MS Regular"}

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Noah-Sager
Esri Regular Contributor

Hi @GregoryBologna, unfortunately, that is a known issue that will be fixed at the next release (4.23).

View solution in original post

0 Kudos
1 Reply
Noah-Sager
Esri Regular Contributor

Hi @GregoryBologna, unfortunately, that is a known issue that will be fixed at the next release (4.23).

0 Kudos