<?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: Choosing between overlapping polygons when editing data with a feature form using the JavaScript API 4.11 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263192#M24395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I thought about this. So&amp;nbsp;query features based on the mapPoint&amp;nbsp;returned by the hittest and then build some mechanism for users to toggle between the returned query values? That makes sense - I was hoping there was an easier way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2019 15:14:07 GMT</pubDate>
    <dc:creator>GregMcNamee</dc:creator>
    <dc:date>2019-06-07T15:14:07Z</dc:date>
    <item>
      <title>Choosing between overlapping polygons when editing data with a feature form using the JavaScript API 4.11</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263190#M24393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created an app that uses a featureForm to edit data using the JavaScript API (4.11). The data represents project areas for the next 5 years, and there are cases where the polygons don't change from year to year.&amp;nbsp;My question is how do I deal with identical polygons? The script uses a hitTest to query features and populate the featureForm. But this only selects the topmost polygon. How do I give the user the option to toggle between polygons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My initial thought was to use the popup and a popup action. I successfully created a popup action which allows the user to choose which polygon they want, but there some issues when the featureForm populates. Sometimes the data in the form is incorrect. Is using a popup action the best way to go about this? Or is there a better option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 13:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263190#M24393</guid>
      <dc:creator>GregMcNamee</dc:creator>
      <dc:date>2019-06-07T13:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing between overlapping polygons when editing data with a feature form using the JavaScript API 4.11</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263191#M24394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg the recommended approach to this is to use a query and the click point to query the layer and return all the intersecting features instead of the hittest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 14:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263191#M24394</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-06-07T14:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing between overlapping polygons when editing data with a feature form using the JavaScript API 4.11</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263192#M24395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I thought about this. So&amp;nbsp;query features based on the mapPoint&amp;nbsp;returned by the hittest and then build some mechanism for users to toggle between the returned query values? That makes sense - I was hoping there was an easier way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 15:14:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263192#M24395</guid>
      <dc:creator>GregMcNamee</dc:creator>
      <dc:date>2019-06-07T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing between overlapping polygons when editing data with a feature form using the JavaScript API 4.11</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263193#M24396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;No the hit itest is no longer involved no you just query on the view click event. Sorry there is no easier way currently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 15:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263193#M24396</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-06-07T15:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing between overlapping polygons when editing data with a feature form using the JavaScript API 4.11</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263194#M24397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. misspoke.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;view.on("click", function(event) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;polyLayer.queryFeatures({&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;geometry: event.mapPoint,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 15:57:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263194#M24397</guid>
      <dc:creator>GregMcNamee</dc:creator>
      <dc:date>2019-06-07T15:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing between overlapping polygons when editing data with a feature form using the JavaScript API 4.11</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263195#M24398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep that is it. Don't Forget to mark this question as answered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 16:18:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/choosing-between-overlapping-polygons-when-editing/m-p/263195#M24398</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-06-07T16:18:31Z</dc:date>
    </item>
  </channel>
</rss>

