<?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: Missing value for required property 'x' on 'esri.geometry.Point' in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-value-for-required-property-x-on-esri/m-p/1218425#M78898</link>
    <description>&lt;P&gt;Have you tried specifying the "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#x" target="_self"&gt;x&lt;/A&gt;" and "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#y" target="_self"&gt;y&lt;/A&gt;" properties instead of "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#latitude" target="_self"&gt;latitude&lt;/A&gt;" and "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#longitude" target="_self"&gt;longitude&lt;/A&gt;"?&amp;nbsp; The error message suggests this might solve the problem.&amp;nbsp; For example:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;geometry: { type: "point", x: location.lon, y: location.lat },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The default spatial reference when not explicitly specified is WGS 84, so I would expect this to work.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2022 21:15:45 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2022-10-03T21:15:45Z</dc:date>
    <item>
      <title>Missing value for required property 'x' on 'esri.geometry.Point'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-value-for-required-property-x-on-esri/m-p/1217148#M78859</link>
      <description>&lt;P&gt;Can anyone tell me why I'm getting the error in the title using the code below? I'm about at my wits end with Esri. I literally copied the simplest example of creating a graphic and placing it on a map that I can find and it still doesn't work. Anytime I try to create a point, it throws this exception. It works fine(no exception) if I add "x: 0, y: 0" to the point geometry, but then I get a Point somewhere in the Atlantic somewhere near Africa; presumably because the easting/northing values are 0. It just seems to ignore the geo coordinates. I need to use only lat/lon values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const simpleMarkerSymbol = {
type: "simple-marker",
color: [255, 0, 0],
outline: { color: [255, 255, 255], width: 0 }
};

const pointGraphic = new Graphic(
{
geometry: { type: "point", longitude: location.lon, latitude: location.lat },
symbol: simpleMarkerSymbol
}
);

graphicsLayer.add(pointGraphic);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes the map, layers, etc are all running fine and the lat/lon values are verified present and sane. It's just the Point that doesn't show because of the above exception.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 21:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-value-for-required-property-x-on-esri/m-p/1217148#M78859</guid>
      <dc:creator>GeraldRowe</dc:creator>
      <dc:date>2022-09-28T21:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Missing value for required property 'x' on 'esri.geometry.Point'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-value-for-required-property-x-on-esri/m-p/1217169#M78860</link>
      <description>&lt;P&gt;Not sure. Do you have a codepen or github showing the issue?&lt;/P&gt;&lt;P&gt;Using your code here with some values and seems to work, could be something else.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/odoe/pen/wvjyxvj?editors=1000" target="_blank"&gt;https://codepen.io/odoe/pen/wvjyxvj?editors=1000&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 22:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-value-for-required-property-x-on-esri/m-p/1217169#M78860</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-09-28T22:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Missing value for required property 'x' on 'esri.geometry.Point'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-value-for-required-property-x-on-esri/m-p/1218425#M78898</link>
      <description>&lt;P&gt;Have you tried specifying the "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#x" target="_self"&gt;x&lt;/A&gt;" and "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#y" target="_self"&gt;y&lt;/A&gt;" properties instead of "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#latitude" target="_self"&gt;latitude&lt;/A&gt;" and "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#longitude" target="_self"&gt;longitude&lt;/A&gt;"?&amp;nbsp; The error message suggests this might solve the problem.&amp;nbsp; For example:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;geometry: { type: "point", x: location.lon, y: location.lat },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The default spatial reference when not explicitly specified is WGS 84, so I would expect this to work.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 21:15:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-value-for-required-property-x-on-esri/m-p/1218425#M78898</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-10-03T21:15:45Z</dc:date>
    </item>
  </channel>
</rss>

