<?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 X,Y coordinates to add a new point in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/x-y-coordinates-to-add-a-new-point/m-p/169731#M3951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: GIS.Nadir&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dears,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to add a functionality of adding a new point by providing input X,Y coordinates widget?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean it is similar to locate by coordinate widget, where one fills the X,Y coordinates text boxes then press ADD button to update the SDE layer with a new point feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another challenge:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What if the inserted coordinates are in a different projection than the the map spatial reference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 10:23:09 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-12-14T10:23:09Z</dc:date>
    <item>
      <title>X,Y coordinates to add a new point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/x-y-coordinates-to-add-a-new-point/m-p/169731#M3951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: GIS.Nadir&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dears,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to add a functionality of adding a new point by providing input X,Y coordinates widget?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean it is similar to locate by coordinate widget, where one fills the X,Y coordinates text boxes then press ADD button to update the SDE layer with a new point feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another challenge:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What if the inserted coordinates are in a different projection than the the map spatial reference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 10:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/x-y-coordinates-to-add-a-new-point/m-p/169731#M3951</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-12-14T10:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: X,Y coordinates to add a new point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/x-y-coordinates-to-add-a-new-point/m-p/169732#M3952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: dpaddock&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can call applyEdits() on FeatureLayer or FeatureLayerTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#applyEdits()" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#applyEdits()&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/FeatureLayerTask.html#applyEdits()" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/FeatureLayerTask.html#applyEdits()&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var mapPoint:MapPoint = new MapPoint(x, y, new SpatialReference(123));
var graphic:Graphic = new Graphic(mapPoint);
featureLayer.applyEdits([graphic], null, null);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The server will project the coordinates if necessary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:48:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/x-y-coordinates-to-add-a-new-point/m-p/169732#M3952</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T08:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: X,Y coordinates to add a new point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/x-y-coordinates-to-add-a-new-point/m-p/169733#M3953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: GIS.Nadir&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear Paddok,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for your useful guidelines and help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do appreciate it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 13:20:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/x-y-coordinates-to-add-a-new-point/m-p/169733#M3953</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-12-16T13:20:06Z</dc:date>
    </item>
  </channel>
</rss>

