<?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: Check location under the basemap extent in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-location-under-the-basemap-extent/m-p/156235#M1106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/347139"&gt;Devendra Khatri&lt;/A&gt;.&amp;nbsp;That seems like a sensible way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also have used&amp;nbsp;intersects() in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="http://esri.github.io/geometry-api-java/doc/RelationalOperators.html"&gt;this page&lt;/A&gt;, and in particular look at each relational operator at the bottom of that page. There are some good diagrams and discussions there.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2019 19:57:21 GMT</pubDate>
    <dc:creator>Nicholas-Furness</dc:creator>
    <dc:date>2019-09-18T19:57:21Z</dc:date>
    <item>
      <title>Check location under the basemap extent</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-location-under-the-basemap-extent/m-p/156234#M1105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a basemap downloaded with some extent to my mobile device and I use Location display manager to detect user's current location. How do I show user&amp;nbsp;a message if his downloaded basemap does not have the current location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way I found is to get the extent coordinates of the basemap and use it againt LocationDisplay.getMapLocation() that gives current location and do a check using GeometryEngine.contains().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a different way to achieve this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 18:47:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-location-under-the-basemap-extent/m-p/156234#M1105</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-09-18T18:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check location under the basemap extent</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-location-under-the-basemap-extent/m-p/156235#M1106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/347139"&gt;Devendra Khatri&lt;/A&gt;.&amp;nbsp;That seems like a sensible way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also have used&amp;nbsp;intersects() in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="http://esri.github.io/geometry-api-java/doc/RelationalOperators.html"&gt;this page&lt;/A&gt;, and in particular look at each relational operator at the bottom of that page. There are some good diagrams and discussions there.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 19:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-location-under-the-basemap-extent/m-p/156235#M1106</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-09-18T19:57:21Z</dc:date>
    </item>
  </channel>
</rss>

