<?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 MapView Viewpoint changes from v200.5.1 -&amp;gt; v200.6 in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1577326#M486</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We found that there are quite observable changes in MapView when we set the Viewpoint using the same Envelope&lt;/P&gt;&lt;P&gt;Please see attached images.&lt;/P&gt;&lt;P&gt;The coloured rectangle is an GraphicsOverlay inside ArcGIS&lt;/P&gt;&lt;P&gt;The line with 2 circles are drawn on top and of the map, and they do not move between versions.&lt;/P&gt;&lt;P&gt;Note that only the map(and rectangle) is different between versions even with the same viewpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code we use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;mapViewProxy.setViewpoint(Viewpoint(boundingGeometry: Envelope(center: center, width: size, height: size)), duration: 0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these variables:&lt;/P&gt;&lt;P&gt;center =&amp;nbsp;&lt;SPAN class=""&gt;Point&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;latitude&lt;/SPAN&gt;&lt;SPAN class=""&gt;: 47.38776035242992&lt;/SPAN&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;longitude&lt;/SPAN&gt;&lt;SPAN class=""&gt;: 8.6554592857211&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;zoomedInSize =&amp;nbsp;0.00034594444524398035&lt;/P&gt;&lt;P&gt;zoomedOutSize =&amp;nbsp;0.0010085843884744825&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been using ArcGIS since v100, and only in v200.6.0 is this change observed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug? Or perhaps something changed with the way MapView is rendered?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 05:02:46 GMT</pubDate>
    <dc:creator>John_G</dc:creator>
    <dc:date>2025-01-21T05:02:46Z</dc:date>
    <item>
      <title>MapView Viewpoint changes from v200.5.1 -&gt; v200.6</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1577326#M486</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We found that there are quite observable changes in MapView when we set the Viewpoint using the same Envelope&lt;/P&gt;&lt;P&gt;Please see attached images.&lt;/P&gt;&lt;P&gt;The coloured rectangle is an GraphicsOverlay inside ArcGIS&lt;/P&gt;&lt;P&gt;The line with 2 circles are drawn on top and of the map, and they do not move between versions.&lt;/P&gt;&lt;P&gt;Note that only the map(and rectangle) is different between versions even with the same viewpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code we use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;mapViewProxy.setViewpoint(Viewpoint(boundingGeometry: Envelope(center: center, width: size, height: size)), duration: 0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these variables:&lt;/P&gt;&lt;P&gt;center =&amp;nbsp;&lt;SPAN class=""&gt;Point&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;latitude&lt;/SPAN&gt;&lt;SPAN class=""&gt;: 47.38776035242992&lt;/SPAN&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;longitude&lt;/SPAN&gt;&lt;SPAN class=""&gt;: 8.6554592857211&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;zoomedInSize =&amp;nbsp;0.00034594444524398035&lt;/P&gt;&lt;P&gt;zoomedOutSize =&amp;nbsp;0.0010085843884744825&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been using ArcGIS since v100, and only in v200.6.0 is this change observed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug? Or perhaps something changed with the way MapView is rendered?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 05:02:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1577326#M486</guid>
      <dc:creator>John_G</dc:creator>
      <dc:date>2025-01-21T05:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: MapView Viewpoint changes from v200.5.1 -&gt; v200.6</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1577489#M488</link>
      <description>&lt;P&gt;At some point in the app are you doing any projecting to arrive at the geometries that you are placing on the map and zooming to?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 17:59:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1577489#M488</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2025-01-21T17:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: MapView Viewpoint changes from v200.5.1 -&gt; v200.6</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1577696#M491</link>
      <description>&lt;P&gt;Not that I know of.&lt;/P&gt;&lt;P&gt;To remove any issues related our integration of ArcGIS, I have reproduced the issue in the Samples app (tag&amp;nbsp;v200.5.0). I compared the library version of&amp;nbsp;&lt;SPAN&gt;arcgis-maps-sdk-swift-toolkit v200.5.0 and v200.6.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you compare the images attached, you can see that the v200.6.0 seems to be very slightly zoomed out with an origin of the top margin&lt;/P&gt;&lt;P class=""&gt;You can replicate it in Samples.ChangeViewpointView.swift:54&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;case .geometry:
    let center = Point(latitude: 47.38776035242992, longitude: 8.6554592857211)
    let geo = Envelope(center: center, width: 0.0010085843884744825, height: 0.0010085843884744825)
    await mapViewProxy.setViewpointGeometry(geo)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 06:34:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1577696#M491</guid>
      <dc:creator>John_G</dc:creator>
      <dc:date>2025-01-22T06:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: MapView Viewpoint changes from v200.5.1 -&gt; v200.6</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1579211#M497</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/843530"&gt;@John_G&lt;/a&gt;, this is an expected behavior change where available coordinate systems and transformations have been updated to EPSG v11.015 as mentioned in the 200.6 &lt;A href="https://developers.arcgis.com/swift/release-notes/release-notes-for-200-6/#projection-engine-updates" target="_self"&gt;release notes&lt;/A&gt;. In the example you gave using the Samples app, the map view performs an implicit projection because the map has a web mercator spatial reference and the geometry used to set the viewpoint has a WGS84 spatial reference.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 19:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/mapview-viewpoint-changes-from-v200-5-1-gt-v200-6/m-p/1579211#M497</guid>
      <dc:creator>Destiny_Hochhalter</dc:creator>
      <dc:date>2025-01-27T19:23:09Z</dc:date>
    </item>
  </channel>
</rss>

