<?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 Check point inside polygon (city boundary) in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/check-point-inside-polygon-city-boundary/m-p/691242#M21148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently, I am using World Geocoding Service(&lt;/SPAN&gt;&lt;A href="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer&lt;/A&gt;&lt;SPAN&gt;) and create a map extent to verify the address point whether inside the city boundary or not then show a pop up message.&amp;nbsp; Map extent works great for xy boundary but point still show if the boundary is in irregular shape.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So how do you check if a point is inside a city boundary and using contains() from API reference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( polygon.contains( MapPoint(graphic.geometry) ) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modify showSearchResultOnMap function on GeocoderComponent.mxml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2014 11:45:20 GMT</pubDate>
    <dc:creator>MayJeff</dc:creator>
    <dc:date>2014-03-05T11:45:20Z</dc:date>
    <item>
      <title>Check point inside polygon (city boundary)</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/check-point-inside-polygon-city-boundary/m-p/691242#M21148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently, I am using World Geocoding Service(&lt;/SPAN&gt;&lt;A href="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer&lt;/A&gt;&lt;SPAN&gt;) and create a map extent to verify the address point whether inside the city boundary or not then show a pop up message.&amp;nbsp; Map extent works great for xy boundary but point still show if the boundary is in irregular shape.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So how do you check if a point is inside a city boundary and using contains() from API reference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( polygon.contains( MapPoint(graphic.geometry) ) ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modify showSearchResultOnMap function on GeocoderComponent.mxml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 11:45:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/check-point-inside-polygon-city-boundary/m-p/691242#M21148</guid>
      <dc:creator>MayJeff</dc:creator>
      <dc:date>2014-03-05T11:45:20Z</dc:date>
    </item>
  </channel>
</rss>

