<?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: Issue with libtess.js in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1285973#M81054</link>
    <description>&lt;P&gt;Hi UndralBatsukh,&lt;/P&gt;&lt;P&gt;My map is hosted in a no internet zone, unable to provide the map service but this is how i initialize my mapview&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const [view, setView] = useState&amp;lt;MapView | null&amp;gt;(null);

const gl1 = new GraphicsLayer({
  id: "gl1"
});

useEffect(() =&amp;gt; {
  const wmsLayer = new WMSLayer({
    url: mapUrl,
  });
  const baseMap = new BaseMap({ baseLayers: [wmsLayer] });
  const map = new Map({ basemap: baseMap });
  setView(new MapView({
    map: map,
    container: "viewDiv",
    spatialReference: { wkid: 4326 }
  });
  map.add(gl1);
  
  const pointGraphic = new Graphic({
    geometry: new Point({
     longitude: 103.9716,
     latitude: 1.35788,
     spatialReference: { wkid: 4326 }
   }),
   symbol: new SimpleMarkerSymbol({
     style: "circle",
     size: "10px"
     color: [266, 119, 40],
     outline: {
      color: [0, 0, 0],
      width: 3
     }
   })
  });
   
  gl1.add(pointGraphic);
}, []);
  
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Based on the above code snippet, the error is always encountered when I do a mapview. Not sure if it's because of this error hence my graphics can never be shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 01:57:23 GMT</pubDate>
    <dc:creator>GlendaSeah</dc:creator>
    <dc:date>2023-05-05T01:57:23Z</dc:date>
    <item>
      <title>Issue with libtess.js</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1285546#M81036</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GlendaSeah_0-1683187148888.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69833i68202CD656D6D520/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GlendaSeah_0-1683187148888.png" alt="GlendaSeah_0-1683187148888.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;encountered wasm error when setting up map view. can someone enlighten me if this is a sdk issue or is there some configuration I am missing out when doing the map publishing on arcgis pro?&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 08:00:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1285546#M81036</guid>
      <dc:creator>GlendaSeah</dc:creator>
      <dc:date>2023-05-04T08:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with libtess.js</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1285711#M81040</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without a reproducible case it is not possible to say what the issue is for sure. Is possible for you to share your service or a simple test app that throws this error? Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 15:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1285711#M81040</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-05-04T15:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with libtess.js</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1285973#M81054</link>
      <description>&lt;P&gt;Hi UndralBatsukh,&lt;/P&gt;&lt;P&gt;My map is hosted in a no internet zone, unable to provide the map service but this is how i initialize my mapview&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const [view, setView] = useState&amp;lt;MapView | null&amp;gt;(null);

const gl1 = new GraphicsLayer({
  id: "gl1"
});

useEffect(() =&amp;gt; {
  const wmsLayer = new WMSLayer({
    url: mapUrl,
  });
  const baseMap = new BaseMap({ baseLayers: [wmsLayer] });
  const map = new Map({ basemap: baseMap });
  setView(new MapView({
    map: map,
    container: "viewDiv",
    spatialReference: { wkid: 4326 }
  });
  map.add(gl1);
  
  const pointGraphic = new Graphic({
    geometry: new Point({
     longitude: 103.9716,
     latitude: 1.35788,
     spatialReference: { wkid: 4326 }
   }),
   symbol: new SimpleMarkerSymbol({
     style: "circle",
     size: "10px"
     color: [266, 119, 40],
     outline: {
      color: [0, 0, 0],
      width: 3
     }
   })
  });
   
  gl1.add(pointGraphic);
}, []);
  
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Based on the above code snippet, the error is always encountered when I do a mapview. Not sure if it's because of this error hence my graphics can never be shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 01:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1285973#M81054</guid>
      <dc:creator>GlendaSeah</dc:creator>
      <dc:date>2023-05-05T01:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with libtess.js</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1286152#M81061</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error&amp;nbsp; "failed to execute compile of webassembly: Incorrect mime type. Expected application/wasm" - seems to be related to you not configuring your server to serve wasm content. Adding wasm hopefully will solve the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:06:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-libtess-js/m-p/1286152#M81061</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-05-05T15:06:37Z</dc:date>
    </item>
  </channel>
</rss>

