<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Basemap styles service broken labels and / or icons after 4.28 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1584829#M86515</link>
    <description>&lt;P&gt;We are experiencing this issue as well. We can't consistently reproduce it as it seems to be a timing issue within the Esri library?&lt;/P&gt;&lt;P&gt;details:&lt;/P&gt;&lt;P&gt;"@arcgis/core": "^4.31.6",&lt;BR /&gt;"@esri/calcite-components": "^2.10.1",&lt;BR /&gt;"@esri/calcite-components-react": "^2.13.2",&lt;BR /&gt;"@esri/calcite-ui-icons": "^3.29.0",&lt;/P&gt;&lt;P&gt;deleting the package lock file isn't a reasonable solution for us.&lt;/P&gt;&lt;P&gt;We tried by setting the language at the very start of the application through&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;// Set the locale before the SDK loads&lt;BR /&gt;esriConfig = {&lt;BR /&gt;locale: "en-US"&lt;BR /&gt;};&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;It would be nice if Esri could respond or if other users that are experiencing this issue could let us and Esri know. thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 10:45:47 GMT</pubDate>
    <dc:creator>BjornKuiper1</dc:creator>
    <dc:date>2025-02-13T10:45:47Z</dc:date>
    <item>
      <title>Basemap styles service broken labels and / or icons after 4.28</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1569468#M86270</link>
      <description>&lt;P&gt;Using the javascript API in a react / nextjs app, we have intermittent issues with the "navigation" basemap labels and icons.&lt;/P&gt;&lt;P&gt;These issues started occurring for us after switching to the basemap styles service ( "streets" -&amp;gt; "arcgis/navigation")&lt;/P&gt;&lt;P&gt;The sequence is the map loads, we initially see the arcgis/navigation basemap with the labels blurred.&amp;nbsp;&amp;nbsp; Then, the font file is downloaded, and the labels (sometimes - see interceptor workaround below) draw correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlertMediaDev_1-1734460752181.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121957iB2814EAE5BFCC19E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlertMediaDev_1-1734460752181.png" alt="AlertMediaDev_1-1734460752181.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlertMediaDev_0-1734460547746.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121956iE428A72F5AB623C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlertMediaDev_0-1734460547746.png" alt="AlertMediaDev_0-1734460547746.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These issues are intermittent - sometimes they do not happen, sometimes they happen on every load.&amp;nbsp; Sometimes they occur on certain pages of the app, but not others (despite the esri logic being identical)&lt;/P&gt;&lt;P&gt;Every tested version after 4.28.10 including next has these issues.&amp;nbsp; They occur in both chrome and firefox.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding an http interceptor to prevent the fonts from being cached seems to fix the label issues &lt;EM&gt;most&lt;/EM&gt; of the time, but not all.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlertMediaDev_2-1734460980707.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121961iECD870E6E0A05F05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlertMediaDev_2-1734460980707.png" alt="AlertMediaDev_2-1734460980707.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This causes the fonts to need to be downloaded every time.&amp;nbsp;&amp;nbsp; To me this indicates something is broken with timing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This unfortunately does not fix the black box city location icons.&amp;nbsp; We have not found a way to recover from this issue, or even determine via code the issue occurs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is nothing notable about how the map view is constructed (code below is wrapped in useEffect)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlertMediaDev_3-1734461041713.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121962i50EFA6795AB787C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlertMediaDev_3-1734461041713.png" alt="AlertMediaDev_3-1734461041713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would have been a support ticket, except it is not reproducible with vanilla JS.&lt;/P&gt;&lt;P&gt;This is a similar post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/td-p/1535635" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/td-p/1535635&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone give any tips for getting around this issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 18:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1569468#M86270</guid>
      <dc:creator>AlertMediaDev</dc:creator>
      <dc:date>2024-12-17T18:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Basemap styles service broken labels and / or icons after 4.28</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1577840#M86418</link>
      <description>&lt;P&gt;I finally made some progress here... I was&amp;nbsp; not able to reproduce in a fresh app, only our very large, multi-team app&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;pin the arcgis/core version to =4.28.10.&amp;nbsp;&lt;/P&gt;&lt;P&gt;deleted package.lock file&amp;nbsp;&amp;nbsp;&amp;nbsp; (Don't do this unless you want to enter dependency **bleep** and test every feature of your app)&lt;/P&gt;&lt;P&gt;run npm install.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a fresh set of dependencies and dependencies, for that specific version, the issue seems to resolve.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 16:51:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1577840#M86418</guid>
      <dc:creator>AlertMediaDev</dc:creator>
      <dc:date>2025-01-22T16:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Basemap styles service broken labels and / or icons after 4.28</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1584829#M86515</link>
      <description>&lt;P&gt;We are experiencing this issue as well. We can't consistently reproduce it as it seems to be a timing issue within the Esri library?&lt;/P&gt;&lt;P&gt;details:&lt;/P&gt;&lt;P&gt;"@arcgis/core": "^4.31.6",&lt;BR /&gt;"@esri/calcite-components": "^2.10.1",&lt;BR /&gt;"@esri/calcite-components-react": "^2.13.2",&lt;BR /&gt;"@esri/calcite-ui-icons": "^3.29.0",&lt;/P&gt;&lt;P&gt;deleting the package lock file isn't a reasonable solution for us.&lt;/P&gt;&lt;P&gt;We tried by setting the language at the very start of the application through&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;// Set the locale before the SDK loads&lt;BR /&gt;esriConfig = {&lt;BR /&gt;locale: "en-US"&lt;BR /&gt;};&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;It would be nice if Esri could respond or if other users that are experiencing this issue could let us and Esri know. thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 10:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1584829#M86515</guid>
      <dc:creator>BjornKuiper1</dc:creator>
      <dc:date>2025-02-13T10:45:47Z</dc:date>
    </item>
  </channel>
</rss>

