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"}
Solved! Go to Solution.
Hi @GregoryBologna, unfortunately, that is a known issue that will be fixed at the next release (4.23).
Hi @GregoryBologna, unfortunately, that is a known issue that will be fixed at the next release (4.23).
Hi,
My Application uses acrgis core version 4.26.5 ,
i am still having above error message with pbf fonts
Hi @Noah-Sager ,for your kind attention
Hey @SREEKUMARPR, thanks for the message. If your issue is specific to DistanceMeasurement2D or AreaMeasurement2D widgets, this should be resolved with a more recent version of the ArcGIS Maps SDK for JavaScript. Version 4.26 is currently is mature support.
https://developers.arcgis.com/javascript/latest/release-notes/