<?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: Black Boxes For Labels in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1569396#M86268</link>
    <description>&lt;P&gt;I have the same issue, it is extremely frustrating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can happen for the place name labels, or for the icons for city names.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd love to see your workaround.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 16:43:03 GMT</pubDate>
    <dc:creator>AlertMediaDev</dc:creator>
    <dc:date>2024-12-17T16:43:03Z</dc:date>
    <item>
      <title>Black Boxes For Labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1535635#M85613</link>
      <description>&lt;P&gt;Has anyone seen anything like this (Esri JS API 4.30). We're using a basic streets-vector basemap with the "fromId" and that one plus most of the other basic basemaps maps are randomly coming up with the boxes for labels seen below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The odd behaviors are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Happens for vector and non-vector basemaps&lt;/LI&gt;&lt;LI&gt;If I click on the map, it goes away.&lt;UL&gt;&lt;LI&gt;As long as I don't click on the map I can see the issue in varying forms when switching out the basemap to other OOTB basemaps.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I have a branch where we use a custom basemap on load, for that one I cannot recreate this issue.&lt;/LI&gt;&lt;LI&gt;From what I can tell, the issue only shows up from 4.29 on. I can't recreate on 4.28 (previously was running 4.26 on this project)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This feels like an implementation issue on my end, but goodness if I can't tell what. Asking here in case it's an issue others have experienced.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115266"&gt;@AnneFitz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ColinSullivan_0-1725561815268.png" style="width: 735px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114377i041B2CB7CCBC81BF/image-dimensions/735x411?v=v2" width="735" height="411" role="button" title="ColinSullivan_0-1725561815268.png" alt="ColinSullivan_0-1725561815268.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 18:55:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1535635#M85613</guid>
      <dc:creator>ColinSullivan</dc:creator>
      <dc:date>2024-09-05T18:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Black Boxes For Labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1542030#M85758</link>
      <description>&lt;P&gt;So. I have an odd work around. Since the labels correct themselves on map interaction. I updated my code to throw a clear/tiny symbol in on load and it mostly resolves the issue. But there's still some odd label flashing when zooming in and out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 16:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1542030#M85758</guid>
      <dc:creator>ColinSullivan</dc:creator>
      <dc:date>2024-09-24T16:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Black Boxes For Labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1569396#M86268</link>
      <description>&lt;P&gt;I have the same issue, it is extremely frustrating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can happen for the place name labels, or for the icons for city names.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd love to see your workaround.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 16:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1569396#M86268</guid>
      <dc:creator>AlertMediaDev</dc:creator>
      <dc:date>2024-12-17T16:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Black Boxes For Labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1569427#M86269</link>
      <description>&lt;P&gt;Sounds like what we're seeing too.&lt;BR /&gt;&lt;BR /&gt;It's really not much of a workaround. I can still see the issue very briefly when zooming. I did try and go a bit further with our solution to see what could be the difference between our app and the esri examples where this doesn't happen. We are using a react build that doesn't use esri react components. My attempts though didn't seem to change the issue though.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Below is all I did. On initialize I add a small clear point to the center of the map. Then found that on print, it could show in the print out. So right before print I clear the point and re-add it after print request goes out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a weird solution. But worked enough for us. Just couldn't figure out the root cause or get the issue to go away completely (still barely can see on fast zoom in/out). Let me know if that works for you.&lt;/P&gt;&lt;P&gt;Otherwise, my approach was just messing with the map until I found something that forced the map to somehow refresh without the black boxes. Let me know how it goes for you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ColinSullivan_0-1734457202815.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121947iED67838643D03433/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ColinSullivan_0-1734457202815.png" alt="ColinSullivan_0-1734457202815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 17:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1569427#M86269</guid>
      <dc:creator>ColinSullivan</dc:creator>
      <dc:date>2024-12-17T17:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Black Boxes For Labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1569817#M86274</link>
      <description>&lt;P&gt;I created another threat for this issue as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1569468#M86270" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-styles-service-broken-labels-and-or-icons/m-p/1569468#M86270&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We are using a similar react setup.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 16:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1569817#M86274</guid>
      <dc:creator>AlertMediaDev</dc:creator>
      <dc:date>2024-12-18T16:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Black Boxes For Labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1577845#M86419</link>
      <description>&lt;P&gt;I was able to resolve my issue by pinning the arcgis/core version to 4.28.10, running npm install.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could delete your .lock file and re-run npm install (dangerous, might break other parts of your app)&lt;/P&gt;&lt;P&gt;There might be some dependencies or secondary dependencies conflicting.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 16:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/black-boxes-for-labels/m-p/1577845#M86419</guid>
      <dc:creator>AlertMediaDev</dc:creator>
      <dc:date>2025-01-22T16:55:03Z</dc:date>
    </item>
  </channel>
</rss>

