<?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 Is it possible to zoomToEnvelope in a webmap? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-zoomtoenvelope-in-a-webmap/m-p/21237#M236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on an app that displays a map. I have the code opening the webMap I have created on ArcGIS.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the method&lt;/P&gt;&lt;P&gt;-(void)webMapDidLoad:(AGSWebMap *)webMap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set an envelope and then call&lt;/P&gt;&lt;P&gt;[self.mapView zoomToEnvelope:env animated:YES];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the map just zooms to its normal extent, rather than the one I specified. I cant quite figure out what I am doing wrong. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 20:49:44 GMT</pubDate>
    <dc:creator>TylerWarhurst</dc:creator>
    <dc:date>2014-09-24T20:49:44Z</dc:date>
    <item>
      <title>Is it possible to zoomToEnvelope in a webmap?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-zoomtoenvelope-in-a-webmap/m-p/21237#M236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on an app that displays a map. I have the code opening the webMap I have created on ArcGIS.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the method&lt;/P&gt;&lt;P&gt;-(void)webMapDidLoad:(AGSWebMap *)webMap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set an envelope and then call&lt;/P&gt;&lt;P&gt;[self.mapView zoomToEnvelope:env animated:YES];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the map just zooms to its normal extent, rather than the one I specified. I cant quite figure out what I am doing wrong. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 20:49:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-zoomtoenvelope-in-a-webmap/m-p/21237#M236</guid>
      <dc:creator>TylerWarhurst</dc:creator>
      <dc:date>2014-09-24T20:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to zoomToEnvelope in a webmap?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-zoomtoenvelope-in-a-webmap/m-p/21238#M237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try waiting until &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;- (&lt;SPAN class="s1"&gt;void&lt;/SPAN&gt;)didOpenWebMap:(&lt;SPAN class="s2"&gt;AGSWebMap&lt;/SPAN&gt; *)webMap intoMapView:(&lt;SPAN class="s2"&gt;AGSMapView&lt;/SPAN&gt; *)mapView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somewhere between webMapDidLoad: and didOpenWebMap:intoMapView the SDK may be setting the envelope.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 20:21:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-zoomtoenvelope-in-a-webmap/m-p/21238#M237</guid>
      <dc:creator>TomBruns</dc:creator>
      <dc:date>2014-09-25T20:21:11Z</dc:date>
    </item>
  </channel>
</rss>

