<?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: Selecting features on a map in an app in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/selecting-features-on-a-map-in-an-app/m-p/372454#M2469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cora,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you may be referring to the line where the initial map extent is set -&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-android/blob/master/java/feature-layer-selection/src/main/java/com/esri/arcgisruntime/samples/featurelayerselection/MainActivity.java#L55" title="https://github.com/Esri/arcgis-runtime-samples-android/blob/master/java/feature-layer-selection/src/main/java/com/esri/arcgisruntime/samples/featurelayerselection/MainActivity.java#L55"&gt;arcgis-runtime-samples-android/MainActivity.java at master · Esri/arcgis-runtime-samples-android · GitHub&lt;/A&gt;&amp;nbsp; - this line is just using a hardcoded Envelope to set the map extent to a suitable&amp;nbsp;location and scale so that you can easily&amp;nbsp;see&amp;nbsp;individual features. There's nothing in the code that I can see that would zoom to a specific feature after having tapped it to select it - although that would be easy to add in, if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is code that creates an Envelope around the tapped location and uses that to perform the query that selects the features - I believe this is just to make&amp;nbsp;a sort of tolerance around the feature to make selection easier&amp;nbsp;without needing to be so precise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Shelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 09:17:09 GMT</pubDate>
    <dc:creator>ShellyGill1</dc:creator>
    <dc:date>2018-04-17T09:17:09Z</dc:date>
    <item>
      <title>Selecting features on a map in an app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/selecting-features-on-a-map-in-an-app/m-p/372453#M2468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the "&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/master/java/feature-layer-selection"&gt;Feature layer selection&lt;/A&gt;" sample code, how does the zoom-in work where when I select a feature, it zooms to it a certain odd way? Is this part of the Envelope?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 05:55:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/selecting-features-on-a-map-in-an-app/m-p/372453#M2468</guid>
      <dc:creator>CoraColeman</dc:creator>
      <dc:date>2018-04-12T05:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting features on a map in an app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/selecting-features-on-a-map-in-an-app/m-p/372454#M2469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cora,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you may be referring to the line where the initial map extent is set -&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-android/blob/master/java/feature-layer-selection/src/main/java/com/esri/arcgisruntime/samples/featurelayerselection/MainActivity.java#L55" title="https://github.com/Esri/arcgis-runtime-samples-android/blob/master/java/feature-layer-selection/src/main/java/com/esri/arcgisruntime/samples/featurelayerselection/MainActivity.java#L55"&gt;arcgis-runtime-samples-android/MainActivity.java at master · Esri/arcgis-runtime-samples-android · GitHub&lt;/A&gt;&amp;nbsp; - this line is just using a hardcoded Envelope to set the map extent to a suitable&amp;nbsp;location and scale so that you can easily&amp;nbsp;see&amp;nbsp;individual features. There's nothing in the code that I can see that would zoom to a specific feature after having tapped it to select it - although that would be easy to add in, if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is code that creates an Envelope around the tapped location and uses that to perform the query that selects the features - I believe this is just to make&amp;nbsp;a sort of tolerance around the feature to make selection easier&amp;nbsp;without needing to be so precise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Shelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 09:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/selecting-features-on-a-map-in-an-app/m-p/372454#M2469</guid>
      <dc:creator>ShellyGill1</dc:creator>
      <dc:date>2018-04-17T09:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting features on a map in an app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/selecting-features-on-a-map-in-an-app/m-p/372455#M2470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response! I have found that it oddly zooms to it anyway (though there appears to be no code that does this in the sample).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 22:03:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/selecting-features-on-a-map-in-an-app/m-p/372455#M2470</guid>
      <dc:creator>CoraColeman</dc:creator>
      <dc:date>2018-04-17T22:03:27Z</dc:date>
    </item>
  </channel>
</rss>

