<?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 Point within polygon in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-within-polygon/m-p/556396#M51906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a polygon layer (State Layer), I have added this layer to my map using ArcGISDynamicMapServiceLyaer. What I want is, if user click within polygon(State), I need to return true, else return false. Based on the return value I need to do few more operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone provide me an exaple, how to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-U&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 03:46:28 GMT</pubDate>
    <dc:creator>Udaya_BhaskerCheerala</dc:creator>
    <dc:date>2012-12-11T03:46:28Z</dc:date>
    <item>
      <title>Point within polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-within-polygon/m-p/556396#M51906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a polygon layer (State Layer), I have added this layer to my map using ArcGISDynamicMapServiceLyaer. What I want is, if user click within polygon(State), I need to return true, else return false. Based on the return value I need to do few more operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone provide me an exaple, how to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-U&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 03:46:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-within-polygon/m-p/556396#M51906</guid>
      <dc:creator>Udaya_BhaskerCheerala</dc:creator>
      <dc:date>2012-12-11T03:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Point within polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-within-polygon/m-p/556397#M51907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;have you seen &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/query_bypoly.html"&gt;our sample&lt;/A&gt;&lt;SPAN&gt; which uses a mapClick to &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm"&gt;query&lt;/A&gt;&lt;SPAN&gt; for polygons and then finds adjacent polygons?&amp;nbsp; you can try adapting it to only complete the first step.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-within-polygon/m-p/556397#M51907</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-12-11T15:14:28Z</dc:date>
    </item>
  </channel>
</rss>

