<?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 Firefox Issues in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312093#M81785</link>
    <description>&lt;P&gt;I have a simple web map with 3 layers. Two of them use feature reduction. I am using ArcGIS Map SDK for JavaScript 4.27, TypeScript and Angular 16.&lt;/P&gt;&lt;P&gt;Web map works well with Edge and Chrome but hangs in Firefox. Firefox gets unresponsive and two of the layers are not shown (those with feature reduction).&lt;/P&gt;&lt;P&gt;I'll get an error in the Web Developer Console:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thozub_dal_0-1690389130133.png" style="width: 749px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76375i8CBD4A8E3903B6ED/image-dimensions/749x23?v=v2" width="749" height="23" role="button" title="thozub_dal_0-1690389130133.png" alt="thozub_dal_0-1690389130133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The JavaScript file is located here:&lt;BR /&gt;&lt;A href="https://js.arcgis.com/4.27/@arcgis/core/assets/esri/core/workers/chunks/3ad56b5f273e2d911dbd.js" target="_blank"&gt;https://js.arcgis.com/4.27/@arcgis/core/assets/esri/core/workers/chunks/3ad56b5f273e2d911dbd.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This error does not occur when using Edge and Chrome.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 16:33:29 GMT</pubDate>
    <dc:creator>Thomas_Z2</dc:creator>
    <dc:date>2023-07-26T16:33:29Z</dc:date>
    <item>
      <title>Firefox Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312093#M81785</link>
      <description>&lt;P&gt;I have a simple web map with 3 layers. Two of them use feature reduction. I am using ArcGIS Map SDK for JavaScript 4.27, TypeScript and Angular 16.&lt;/P&gt;&lt;P&gt;Web map works well with Edge and Chrome but hangs in Firefox. Firefox gets unresponsive and two of the layers are not shown (those with feature reduction).&lt;/P&gt;&lt;P&gt;I'll get an error in the Web Developer Console:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thozub_dal_0-1690389130133.png" style="width: 749px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76375i8CBD4A8E3903B6ED/image-dimensions/749x23?v=v2" width="749" height="23" role="button" title="thozub_dal_0-1690389130133.png" alt="thozub_dal_0-1690389130133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The JavaScript file is located here:&lt;BR /&gt;&lt;A href="https://js.arcgis.com/4.27/@arcgis/core/assets/esri/core/workers/chunks/3ad56b5f273e2d911dbd.js" target="_blank"&gt;https://js.arcgis.com/4.27/@arcgis/core/assets/esri/core/workers/chunks/3ad56b5f273e2d911dbd.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This error does not occur when using Edge and Chrome.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 16:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312093#M81785</guid>
      <dc:creator>Thomas_Z2</dc:creator>
      <dc:date>2023-07-26T16:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Firefox Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312097#M81786</link>
      <description>&lt;P&gt;I am also using a custom base map (a&amp;nbsp;&lt;SPAN&gt;Vector Tile Layer)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;stored on ArcGIS Online.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 16:36:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312097#M81786</guid>
      <dc:creator>Thomas_Z2</dc:creator>
      <dc:date>2023-07-26T16:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Firefox Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312177#M81790</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/502478"&gt;@Thomas_Z2&lt;/a&gt;please provide a simple, focused sample application that reproduces the error. We recommend using vanilla JS (e.g. codepen &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/webmap-basic/" target="_self"&gt;demoing the webmap&lt;/A&gt;), stackblitz or github repo.&lt;/P&gt;&lt;P&gt;For example, here is an Angular example that provides a good starting point: &lt;A href="https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 17:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312177#M81790</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2023-07-26T17:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Firefox Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312193#M81792</link>
      <description>&lt;P&gt;Unfortunately providing a MWE was not possible this time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I found the culprits...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Performance issue did only occur when the Web Developer Console was open.&lt;/LI&gt;&lt;LI&gt;Symbols are not shown (and the occurrence of the JS error posted in the question) does only happen if I use a &lt;STRONG&gt;PictureMarkerSymbol&lt;/STRONG&gt; with a SVG file. &lt;EM&gt;This must be a bug as the SVG file works well in Edge and Chrome as we well as in Firefox (when displayed in a feature popup using an img tag).&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const RENDERER = new SimpleRenderer({
  symbol: new PictureMarkerSymbol({

    // url: 'assets/map-symbols/gender-neutral.svg',  // not working
    url: 'assets/map-symbols/gender-neutral.png',     // working 

    width: '34px',
    height: '34px',
    xoffset: '-18px',
    yoffset: '-3px',
  })
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After changing the URL to point to a PNG file instead of a SVG file, I do not have any issues anymore, and neither do I get the JS error.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:16:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/firefox-issues/m-p/1312193#M81792</guid>
      <dc:creator>Thomas_Z2</dc:creator>
      <dc:date>2023-07-26T18:16:12Z</dc:date>
    </item>
  </channel>
</rss>

