<?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: How do I set default Extents on iOS application in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546798#M4679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do I set the extents in the mobile content server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2011 19:30:13 GMT</pubDate>
    <dc:creator>KevinJordan2</dc:creator>
    <dc:date>2011-11-07T19:30:13Z</dc:date>
    <item>
      <title>How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546796#M4677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have managed to successfully create and view maps on the iPhone and iPad but when I open them using the standard basemap we see the whole world.&amp;nbsp; Our map is saved in Arcmap at the set extents of our data but we lose that zoomed extent in the iPhone map.&amp;nbsp; How do I set it to default to the extent of our data?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 18:43:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546796#M4677</guid>
      <dc:creator>KevinJordan2</dc:creator>
      <dc:date>2011-11-07T18:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546797#M4678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On the ArcGIS for iOS application the extent can be set when you create the map on your mobile content server.ArcGIS Online grabs the extent that the map view you are currently at when you save the map to your online content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Russ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 19:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546797#M4678</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2011-11-07T19:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546798#M4679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do I set the extents in the mobile content server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 19:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546798#M4679</guid>
      <dc:creator>KevinJordan2</dc:creator>
      <dc:date>2011-11-07T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546799#M4680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let me rephrase that.&amp;nbsp; I see the section on the mobile content server when you are creating a new application that I assume you use to specify the extents.&amp;nbsp; My question is how do I know what to set it to and what format does it need to be in?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 19:41:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546799#M4680</guid>
      <dc:creator>KevinJordan2</dc:creator>
      <dc:date>2011-11-07T19:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546800#M4681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It has to be envelope coordinates (xmin,ymin,xmax,ymax) in the base layer's spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&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>Tue, 08 Nov 2011 15:14:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546800#M4681</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-11-08T15:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546801#M4682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still not working. Here's what I did.&amp;nbsp; I opened the mxd and went to the layer with the biggest extents.&amp;nbsp; I right clicked and went to layer properties and the clicked on the Source Tab to get the Left, Right, Top, Bottom Coordinates.&amp;nbsp; I keyed them into the extents line on the Mobile Content Server using the format mentioned above, xmin,ymin,xmax,ymax.&amp;nbsp; Everything appeared to work, or at least I didn't get any errors.&amp;nbsp; But when I open the map on the iPhone it is still zooming all the way out.&amp;nbsp; Did I do something wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 17:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546801#M4682</guid>
      <dc:creator>KevinJordan2</dc:creator>
      <dc:date>2011-11-08T17:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546802#M4683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So where do I get the envelope coordinates (xmin,ymin,xmax,ymax)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 14:40:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546802#M4683</guid>
      <dc:creator>KevinJordan2</dc:creator>
      <dc:date>2011-11-09T14:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546803#M4684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The envelope coordinates MUST be in BASE LAYER's spatial reference. Is it the case?&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, 16 Nov 2011 18:35:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546803#M4684</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-11-16T18:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546804#M4685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nimesh, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The iOS API 2.1 says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"The envelope property on AGSMapView has been deprecated and replaced by visibleArea to take into account map rotation."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I change to :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSEnvelope *env = self.mapView.visibleArea;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Incompatible pointer types initializing 'AGSEnvelope *' with an expression of type 'AGSPolygon *'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 12:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546804#M4685</guid>
      <dc:creator>DarrenMackiewicz</dc:creator>
      <dc:date>2011-11-22T12:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set default Extents on iOS application</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546805#M4686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Darren,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The original question of this post is different than your question and you should have created a new post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The visibleArea returns AGSPolygon and you are trying to save it as AGSEnvelope. Hence the error. If you want envelope then change code line as following,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSEnvelope *env = self.mapView.visibleArea.envelope;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&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>Tue, 22 Nov 2011 14:20:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-set-default-extents-on-ios-application/m-p/546805#M4686</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-11-22T14:20:54Z</dc:date>
    </item>
  </channel>
</rss>

