<?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: How can I detect whether lat/long coordinates is inside of the AGSArcGISTiledLayer? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-i-detect-whether-lat-long-coordinates-is/m-p/1196991#M7416</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Image tiled layers are designed for efficient display and don't have any backing information built in.&lt;/P&gt;&lt;P&gt;A couple of thoughts…&lt;/P&gt;&lt;P&gt;Do you have access to the source data as feature data to query against?&lt;/P&gt;&lt;P&gt;Another option would be to export an image snapshot of the map view using &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_geo_view.html#ab6916573720d5a86fd0337b8f0369b59" target="_blank"&gt;&lt;STRONG&gt;exportImage()&lt;/STRONG&gt;&lt;/A&gt;, and convert the lat/lon from an AGSPoint into a screen location using &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_map_view_common.html#a721bba2bbd3972c29fe4937e333aa49f" target="_blank"&gt;&lt;STRONG&gt;locationToScreen()&lt;/STRONG&gt;&lt;/A&gt;, then read the pixel value of the image for the CGPoint you get back.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 18:54:53 GMT</pubDate>
    <dc:creator>Nicholas-Furness</dc:creator>
    <dc:date>2022-07-28T18:54:53Z</dc:date>
    <item>
      <title>How can I detect whether lat/long coordinates is inside of the AGSArcGISTiledLayer?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-i-detect-whether-lat-long-coordinates-is/m-p/1196836#M7415</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sample.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/47033iB7E34C823D69F825/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sample.png" alt="sample.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Is there a way to know if an arbitrary latitude and longitude is within the red-filled area of the AGSArcGISTiledLayer?&lt;/P&gt;&lt;P&gt;Here is the sample code and layer data.&lt;BR /&gt;I am using GitLFS because the layer data is heavy.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/studio-rookery/ArcGISSample" target="_blank"&gt;https://github.com/studio-rookery/ArcGISSample&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 15:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-i-detect-whether-lat-long-coordinates-is/m-p/1196836#M7415</guid>
      <dc:creator>MasakiHirano</dc:creator>
      <dc:date>2022-07-28T15:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I detect whether lat/long coordinates is inside of the AGSArcGISTiledLayer?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-i-detect-whether-lat-long-coordinates-is/m-p/1196991#M7416</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Image tiled layers are designed for efficient display and don't have any backing information built in.&lt;/P&gt;&lt;P&gt;A couple of thoughts…&lt;/P&gt;&lt;P&gt;Do you have access to the source data as feature data to query against?&lt;/P&gt;&lt;P&gt;Another option would be to export an image snapshot of the map view using &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_geo_view.html#ab6916573720d5a86fd0337b8f0369b59" target="_blank"&gt;&lt;STRONG&gt;exportImage()&lt;/STRONG&gt;&lt;/A&gt;, and convert the lat/lon from an AGSPoint into a screen location using &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_map_view_common.html#a721bba2bbd3972c29fe4937e333aa49f" target="_blank"&gt;&lt;STRONG&gt;locationToScreen()&lt;/STRONG&gt;&lt;/A&gt;, then read the pixel value of the image for the CGPoint you get back.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 18:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-i-detect-whether-lat-long-coordinates-is/m-p/1196991#M7416</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2022-07-28T18:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I detect whether lat/long coordinates is inside of the AGSArcGISTiledLayer?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-i-detect-whether-lat-long-coordinates-is/m-p/1204155#M7430</link>
      <description>&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;I was able to implement it by:&lt;/P&gt;&lt;P&gt;1. Export map image with scrolling to specified coordinates.&lt;BR /&gt;2. Check if the color of the image is red.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 13:10:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-i-detect-whether-lat-long-coordinates-is/m-p/1204155#M7430</guid>
      <dc:creator>MasakiHirano</dc:creator>
      <dc:date>2022-08-18T13:10:13Z</dc:date>
    </item>
  </channel>
</rss>

