<?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: Rendering a point is not working for WebMap in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-a-point-is-not-working-for-webmap/m-p/1495995#M84912</link>
    <description>&lt;P&gt;If you wrap most of your code in a view.when, you can use the views spatial reference to create your point.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; const point = new Point({
    x: -9810308.361037346,
    y: 5136801.597252877,
    spatialReference: view.spatialReference
});&lt;/LI-CODE&gt;&lt;P&gt;The &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#spatialReference" target="_blank" rel="noopener"&gt;default spatial reference of geometries is WGS84&lt;/A&gt;, so you need to specify when using something else.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2024 15:03:02 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2024-06-21T15:03:02Z</dc:date>
    <item>
      <title>Rendering a point is not working for WebMap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-a-point-is-not-working-for-webmap/m-p/1495939#M84911</link>
      <description>&lt;P&gt;Hello. I'm trying to render a saved location(using a point graphic) into a web map. But it is not working. The point is never rendered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried following the guide at&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=intro-graphics" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=intro-graphics&lt;/A&gt;&amp;nbsp;with no success. I also tried using the react components.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A href="https://codepen.io/Joel-Cabrera/pen/bGyvMKO" target="_blank"&gt;https://codepen.io/Joel-Cabrera/pen/bGyvMKO&lt;/A&gt;&amp;nbsp;for an example of that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 14:08:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-a-point-is-not-working-for-webmap/m-p/1495939#M84911</guid>
      <dc:creator>JoelCabreraRendón</dc:creator>
      <dc:date>2024-06-21T14:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering a point is not working for WebMap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-a-point-is-not-working-for-webmap/m-p/1495995#M84912</link>
      <description>&lt;P&gt;If you wrap most of your code in a view.when, you can use the views spatial reference to create your point.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; const point = new Point({
    x: -9810308.361037346,
    y: 5136801.597252877,
    spatialReference: view.spatialReference
});&lt;/LI-CODE&gt;&lt;P&gt;The &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#spatialReference" target="_blank" rel="noopener"&gt;default spatial reference of geometries is WGS84&lt;/A&gt;, so you need to specify when using something else.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 15:03:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-a-point-is-not-working-for-webmap/m-p/1495995#M84912</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-06-21T15:03:02Z</dc:date>
    </item>
  </channel>
</rss>

