<?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: Zoom to Geometry in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476035#M4069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a demo project as a way to reproduce the issue? It will help us in debugging the problem, if there is one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 17:49:29 GMT</pubDate>
    <dc:creator>GagandeepSingh</dc:creator>
    <dc:date>2015-04-30T17:49:29Z</dc:date>
    <item>
      <title>Zoom to Geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476032#M4066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-(void)zoomToGeometry:(AGSGeometry*)geometry withPadding:(CGFloat)padding animated:(BOOL)animated; doesn't zoom to geometry when the map is rotated , it works fine when the map rotation angle is 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 04:06:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476032#M4066</guid>
      <dc:creator>RoshnaDsouza</dc:creator>
      <dc:date>2015-04-28T04:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476033#M4067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/68175"&gt;Roshna Dsouza&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried it and it works for me. Can you share your code or explain what you are trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 17:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476033#M4067</guid>
      <dc:creator>GagandeepSingh</dc:creator>
      <dc:date>2015-04-28T17:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476034#M4068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to check if the geometry is zoomed to a particular resolution It should be visible to the user/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code below works perfectly fine when maps rotating angle is 0. but when rotating angle is other than 0 , &lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;mapView&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;zoomToGeometry&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:[&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;editLayerManager&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;geometry&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;] &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;withPadding&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:[defaultScale &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;floatValue&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;] &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;animated&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;YES&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;doesn't zoom to exact geometry with padding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;AGSMutableEnvelope&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; *visibleAreaEnvelope = [&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;mapView&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;visibleArea&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;envelope&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;mutableCopy&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;float&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; zoomFactor = [levelScale &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;doubleValue&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;]/&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;mapView&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;resolution&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [visibleAreaEnvelope &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;centerAtPoint&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:[&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;editLayerManager&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s6"&gt;zoomToGeometryCenter&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;]];&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [visibleAreaEnvelope &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;expandByFactor&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:zoomFactor];&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;if&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; (![visibleAreaEnvelope &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;containsEnvelope&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:[&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;editLayerManager&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s6"&gt;geometryEnvelope&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;]]) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;mapView&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;zoomToGeometry&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:[&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;editLayerManager&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;geometry&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;] &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;withPadding&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:[defaultScale &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;floatValue&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;] &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;animated&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;YES&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;else&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;mapView&lt;/SPAN&gt;&lt;SPAN class="s7"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;zoomToResolution&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;:[levelScale &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;doubleValue&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;] &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;withCenterPoint&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;:[&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;editLayerManager&lt;/SPAN&gt;&lt;SPAN class="s7"&gt; &lt;/SPAN&gt;&lt;SPAN class="s6"&gt;zoomToGeometryCenter&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;] &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;animated&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;:&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;YES&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 05:43:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476034#M4068</guid>
      <dc:creator>RoshnaDsouza</dc:creator>
      <dc:date>2015-04-29T05:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476035#M4069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a demo project as a way to reproduce the issue? It will help us in debugging the problem, if there is one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 17:49:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/zoom-to-geometry/m-p/476035#M4069</guid>
      <dc:creator>GagandeepSingh</dc:creator>
      <dc:date>2015-04-30T17:49:29Z</dc:date>
    </item>
  </channel>
</rss>

