<?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: Zooming to a point from a search result in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732594#M5125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suggest you to verify the total of returned results and if total is equal to one , you create a multipoint (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/geometry/Multipoint.html"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/geometry/Multipoint.html&lt;/A&gt;&lt;SPAN&gt;) and insert a new point with minor changes on X and Y. And then you apply zoom with this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.extent = multiPoint.extent.expand(1.5);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Apr 2013 15:08:09 GMT</pubDate>
    <dc:creator>Andréde_Mattos_Ferraz</dc:creator>
    <dc:date>2013-04-22T15:08:09Z</dc:date>
    <item>
      <title>Zooming to a point from a search result</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732591#M5122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a search bar where it searches for results on a web service and displays the results on the map. However i want to zoom to the results. The results i get are stored in an array. So if i get one result, then the map should zoom to that point. But if the results are more than one then the map should zoom to an envelope such that both/ (whatever the search results) are encapsulated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have taken help from the ArcGis queryTask sample for android to get results in an array.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can anyone help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reagrds Nigel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 02:42:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732591#M5122</guid>
      <dc:creator>NigelDsouza</dc:creator>
      <dc:date>2013-02-04T02:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to a point from a search result</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732592#M5123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;nigel_ngl,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post your code that explains how to search a webservice and displays on the map?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 14:41:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732592#M5123</guid>
      <dc:creator>JohnAllen</dc:creator>
      <dc:date>2013-03-12T14:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to a point from a search result</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732593#M5124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My code is same as the sample code given in the ArcGIS Query Task sample for android except that I am a value from the user with the help of an alert dialog box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nigel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 03:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732593#M5124</guid>
      <dc:creator>NigelDsouza</dc:creator>
      <dc:date>2013-03-13T03:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to a point from a search result</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732594#M5125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suggest you to verify the total of returned results and if total is equal to one , you create a multipoint (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/geometry/Multipoint.html"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/geometry/Multipoint.html&lt;/A&gt;&lt;SPAN&gt;) and insert a new point with minor changes on X and Y. And then you apply zoom with this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.extent = multiPoint.extent.expand(1.5);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 15:08:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/zooming-to-a-point-from-a-search-result/m-p/732594#M5125</guid>
      <dc:creator>Andréde_Mattos_Ferraz</dc:creator>
      <dc:date>2013-04-22T15:08:09Z</dc:date>
    </item>
  </channel>
</rss>

