<?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 current location focusing in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/current-location-focusing/m-p/763529#M6830</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;BR /&gt;&lt;SPAN&gt;I want to focus my current location on a button event because I am using place searching over map and then I want to move on my current location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; so how to do it .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Jun 2013 03:54:07 GMT</pubDate>
    <dc:creator>aamirmansuri</dc:creator>
    <dc:date>2013-06-15T03:54:07Z</dc:date>
    <item>
      <title>current location focusing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/current-location-focusing/m-p/763529#M6830</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;BR /&gt;&lt;SPAN&gt;I want to focus my current location on a button event because I am using place searching over map and then I want to move on my current location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; so how to do it .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 03:54:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/current-location-focusing/m-p/763529#M6830</guid>
      <dc:creator>aamirmansuri</dc:creator>
      <dc:date>2013-06-15T03:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: current location focusing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/current-location-focusing/m-p/763530#M6831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can do it using following code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeDefault;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[self.mapView.locationDisplay startDataSource];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 20:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/current-location-focusing/m-p/763530#M6831</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-06-19T20:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: current location focusing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/current-location-focusing/m-p/763531#M6832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use this code, but it only zooms/focuses the first time when executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeDefault;&lt;BR /&gt;[self.mapView.locationDisplay startDataSource];&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other time, the LocationDisplay is shown on the map but no zoom happens (It only centers to the current location).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hacked my way around zooming manually with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[self.mapView zoomToScale:10000 withCenterPoint:self.mapView.locationDisplay.mapLocation animated:TRUE];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;every time i call the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a better way to achieve a behaviour where the zoom happens every time the code is executed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a nice day!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 12:40:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/current-location-focusing/m-p/763531#M6832</guid>
      <dc:creator>ThomasSvitil</dc:creator>
      <dc:date>2013-08-28T12:40:33Z</dc:date>
    </item>
  </channel>
</rss>

