<?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: zoomToGeometry in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606627#M5332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you start data source, and if your auto pan mode is anything other than AGSLocationDisplayAutoPanModeOff, the map would zoom to your current location. If you want to zoom to a different area, turn off location display's auto pan mode. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
[self.mapView.locationDisplay startDataSource];
self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeOff;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More information on auto pan modes &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/ios/guide/map-gps.htm#ESRI_SECTION1_9E550B02B4D84536AD5525D2C2C36DE3" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps! I encourage you to try our latest releases &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/ios/guide/whats-new.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;10.2.3&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/ios/guide/what-s-new-10-2-2-.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;10.2.2&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; to take advantage of all the new capabilties&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:59:31 GMT</pubDate>
    <dc:creator>SuganyaBaskaran1</dc:creator>
    <dc:date>2021-12-12T01:59:31Z</dc:date>
    <item>
      <title>zoomToGeometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606626#M5331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,all.I have some question about&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -(void)zoomToGeometry:(AGSGeometry*)geometry withPadding:(CGFloat)padding animated:(BOOL)animated this method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i have not&amp;nbsp; set&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.mapview.locationDisplay startDataSource],the zoomToGeometry is working fine,can zoom to the point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After i added locationDisplay startDataSource,zoomToGeometry can not zoom to the point, it's always zoom to someplace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's working fine on version 2.2 ,now i'm using 10.2, so, why ? Have someone can help me ?...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 09:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606626#M5331</guid>
      <dc:creator>fengli</dc:creator>
      <dc:date>2014-05-12T09:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: zoomToGeometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606627#M5332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you start data source, and if your auto pan mode is anything other than AGSLocationDisplayAutoPanModeOff, the map would zoom to your current location. If you want to zoom to a different area, turn off location display's auto pan mode. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
[self.mapView.locationDisplay startDataSource];
self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeOff;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More information on auto pan modes &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/ios/guide/map-gps.htm#ESRI_SECTION1_9E550B02B4D84536AD5525D2C2C36DE3" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps! I encourage you to try our latest releases &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/ios/guide/whats-new.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;10.2.3&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/ios/guide/what-s-new-10-2-2-.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;10.2.2&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; to take advantage of all the new capabilties&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:59:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606627#M5332</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2021-12-12T01:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: zoomToGeometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606628#M5333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When you start data source, and if your auto pan mode is anything other than AGSLocationDisplayAutoPanModeOff, the map would zoom to your current location. If you want to zoom to a different area, turn off location display's auto pan mode. &lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
[self.mapView.locationDisplay startDataSource];
self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeOff;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;More information on auto pan modes &lt;A href="https://developers.arcgis.com/ios/guide/map-gps.htm#ESRI_SECTION1_9E550B02B4D84536AD5525D2C2C36DE3" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps! I encourage you to try our latest releases &lt;A href="https://developers.arcgis.com/ios/guide/whats-new.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;10.2.3&lt;/A&gt; or &lt;A href="https://developers.arcgis.com/ios/guide/what-s-new-10-2-2-.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;10.2.2&lt;/A&gt;&amp;nbsp; to take advantage of all the new capabilties&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help,but when i set AGSLocationDisplayAutoPanModeOff,it's zoom to the current location,not zoom to the point,( the point will show parks or amenities),on 2.2,i can zoom to the point with "zoomToGeometry", now,i can not.i have set [self.OneMapView zoomToGeometry:point withPadding:10 animated:TRUE],&amp;nbsp; however, it not work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606628#M5333</guid>
      <dc:creator>fengli</dc:creator>
      <dc:date>2021-12-12T01:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: zoomToGeometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606629#M5334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This seems to be an issue with the SDK. We'll work on fixing it, thanks for reporting. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a workaround, assuming you are starting the datasource in mapViewDidLoad:, calling zoomToGeometry after that in a different method call (like in an IBAction) seems to work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 16:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoomtogeometry/m-p/606629#M5334</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2014-05-19T16:04:14Z</dc:date>
    </item>
  </channel>
</rss>

