<?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: Difficulty zooming to fit envelope across dateline in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/difficulty-zooming-to-fit-envelope-across-dateline/m-p/166895#M1534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2012 15:10:18 GMT</pubDate>
    <dc:creator>LeeJohnson</dc:creator>
    <dc:date>2012-10-03T15:10:18Z</dc:date>
    <item>
      <title>Difficulty zooming to fit envelope across dateline</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/difficulty-zooming-to-fit-envelope-across-dateline/m-p/166893#M1532</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 am having difficulty zooming the mapview to fit an envelope or geometry that spans the dateline (I have wrap around switched on). It seems that whenever I query the envelope it has been "normalized" and no longer contains values outside the boundaries of the map, even though I'm positive I put them in correctly. The basic steps I am going through are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Calculate min and max lat/lon values for my envelope, some will be outside the map boundaries signifying polylines that span the dateline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Project the envelope into web mercator spatial reference&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Call zoomToEnvelope:animated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this supposed to work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 11:54:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/difficulty-zooming-to-fit-envelope-across-dateline/m-p/166893#M1532</guid>
      <dc:creator>LeeJohnson</dc:creator>
      <dc:date>2012-10-03T11:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty zooming to fit envelope across dateline</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/difficulty-zooming-to-fit-envelope-across-dateline/m-p/166894#M1533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you provide an envelope which is outside of date line to zoomToEnvelope then it will zoom to it but if you perform any operation like project or get envelope from query result it's going to be normalized one.&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>Wed, 03 Oct 2012 15:08:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/difficulty-zooming-to-fit-envelope-across-dateline/m-p/166894#M1533</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-10-03T15:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty zooming to fit envelope across dateline</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/difficulty-zooming-to-fit-envelope-across-dateline/m-p/166895#M1534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 15:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/difficulty-zooming-to-fit-envelope-across-dateline/m-p/166895#M1534</guid>
      <dc:creator>LeeJohnson</dc:creator>
      <dc:date>2012-10-03T15:10:18Z</dc:date>
    </item>
  </channel>
</rss>

