<?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: Unable to Get Current Map Center &amp; Zoom Level in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490172#M4188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use AGSViewpoint to get the current extent of the map:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #67b7a4; background-color: #1f1f24; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #9ef1dd;"&gt;AGSViewpoint&lt;/SPAN&gt;&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt; *viewpoint = [&lt;/SPAN&gt;&lt;SPAN style="color: #9ef1dd;"&gt;AGSViewpoint&lt;/SPAN&gt;&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt; &lt;/SPAN&gt;viewpointWithTargetExtent&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #fc5fa3;"&gt;&lt;STRONG&gt;self&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;mapView&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;visibleArea&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;extent&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt; &lt;/SPAN&gt;rotation&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #fc5fa3;"&gt;&lt;STRONG&gt;self&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;mapView&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;rotation&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have that I think you can get the center point using viewpoint.targetGeometry.extent.center.x and viewpoint.targetGeometry.extent.center.y&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2019 20:20:49 GMT</pubDate>
    <dc:creator>MichaelDavis3</dc:creator>
    <dc:date>2019-11-15T20:20:49Z</dc:date>
    <item>
      <title>Unable to Get Current Map Center &amp; Zoom Level</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490171#M4187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the ArcGIS 100.6 iOS SDK and am trying to determine the current center of the map view in lat/long coordinates and the view area.&amp;nbsp; I also want to invoke a listener to detect when a user pans of zooms the map to get the new center and view area.&amp;nbsp; I am need this information to create and update queries to Firebase/GeoFire so that I can place the appropriate markers on the map based on the viewable area.&amp;nbsp; As the user zooms out more markers should become visible.&lt;/P&gt;&lt;P&gt;Google maps has a simple way to do this:&amp;nbsp; center = map.getCenter.&lt;/P&gt;&lt;P&gt;I cannot find a simple answer to this in the SDK documentation.&lt;/P&gt;&lt;P&gt;I have tried setting&amp;nbsp; currentCenter = mapView.center, but the result is in screen coordinates and there is no concise documentation as to how to convert this point to lat/long.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 21:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490171#M4187</guid>
      <dc:creator>SteveEllis1</dc:creator>
      <dc:date>2019-11-13T21:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Get Current Map Center &amp; Zoom Level</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490172#M4188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use AGSViewpoint to get the current extent of the map:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #67b7a4; background-color: #1f1f24; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #9ef1dd;"&gt;AGSViewpoint&lt;/SPAN&gt;&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt; *viewpoint = [&lt;/SPAN&gt;&lt;SPAN style="color: #9ef1dd;"&gt;AGSViewpoint&lt;/SPAN&gt;&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt; &lt;/SPAN&gt;viewpointWithTargetExtent&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #fc5fa3;"&gt;&lt;STRONG&gt;self&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;mapView&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;visibleArea&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;extent&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt; &lt;/SPAN&gt;rotation&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #fc5fa3;"&gt;&lt;STRONG&gt;self&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;mapView&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;.&lt;/SPAN&gt;rotation&lt;SPAN style="color: rgba(255, 255, 255, 0.85);"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have that I think you can get the center point using viewpoint.targetGeometry.extent.center.x and viewpoint.targetGeometry.extent.center.y&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 20:20:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490172#M4188</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2019-11-15T20:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Get Current Map Center &amp; Zoom Level</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490173#M4189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a few&amp;nbsp;approaches you can take.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_geo_view.html#a8b4778a06f1278e65c3842ec2a636a8c" rel="nofollow noopener noreferrer" target="_blank"&gt;Read the current viewpoint&lt;/A&gt;&amp;nbsp;as a Center and Scale and use the &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_viewpoint.html#adb856be20977cf16f25b2a1d89a5ced0" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;STRONG&gt;targetGeometry&lt;/STRONG&gt;&lt;/A&gt; (it will be a point):&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;let&lt;/SPAN&gt; mapCenter &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;currentViewpoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;centerAndScale&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;targetGeometry &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt; AGSPoint&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Get the UI center (as you were) and &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_map_view_common.html#af9ad1058b0e0ce317e27f78fedb7f8ee" rel="nofollow noopener noreferrer" target="_blank"&gt;convert it to map coordinates&lt;/A&gt;:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;let&lt;/SPAN&gt; mapCenter &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;screen&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;toLocation&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;center&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Use the &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_map_view_common.html#a3182d8f1b7c91094ee96a54d7f5545b4" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;STRONG&gt;visibleArea&lt;/STRONG&gt;&lt;/A&gt; property to derive the center:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;let&lt;/SPAN&gt; mapCenter &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;visibleArea&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;center&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In all those cases, the coordinate will be in the map's spatial reference. You'll want to convert them to lat/lon like this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;let&lt;/SPAN&gt; latLon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; AGSGeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;projectGeometry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mapCenter&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; to&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;wgs84&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt; AGSPoint &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;let&lt;/SPAN&gt; lat &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; latLon&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;y
    &lt;SPAN class="keyword token"&gt;let&lt;/SPAN&gt; lon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; latLon&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;x
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find yourself needing latitude and longitude a lot, you can create an extension on AGSPoint:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;extension AGSPoint &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; latitude&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; Double &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;AGSGeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;projectGeometry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; to&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;wgs84&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt; AGSPoint&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;y &lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; longitude&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; Double &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;AGSGeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;projectGeometry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; to&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;wgs84&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt; AGSPoint&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;x &lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that if you're just using the Lat/Lon for display, you could make use of &lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_coordinate_formatter.html#adcd639b7ebcd7a0b462adcddcb9d689a" rel="nofollow noopener noreferrer" target="_blank"&gt;AGSCoordinateFormatter.LatitudeLongitudeStringFromPoint:format:decimalPlaces:()&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for detecting when there's a new center, there have been a couple of questions about this recently which should help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/thread/242331" target="_blank"&gt;How to get center location of Map when end scrolling in ArcGIS Map iOS Swift ?&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/thread/242599-save-agsmapview-viewpoint-after-user-zoompan" target="_blank"&gt;https://community.esri.com/thread/242599-save-agsmapview-viewpoint-after-user-zoompan&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490173#M4189</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2021-12-11T21:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Get Current Map Center &amp; Zoom Level</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490174#M4190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Nick.&lt;/P&gt;&lt;P&gt;Just as a follow-up since my app only uses Lat/Long can I set the target geometry for my maps so that all map operations are in Lat/Long and not have to change spatial references?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2019 00:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490174#M4190</guid>
      <dc:creator>SteveEllis1</dc:creator>
      <dc:date>2019-11-16T00:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Get Current Map Center &amp; Zoom Level</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490175#M4191</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/376486"&gt;Steve&lt;/A&gt;. Maybe &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the Basemap. Runtime&amp;nbsp;determines the&amp;nbsp;spatial reference to use by looking at the Basemap first (or if there isn't a basemap it has some fallback logic). Most likely your Basemap will be in Web Mercator, and so all coordinates for retrieved features ‌will be in Web Mercator too. This is to avoid having the Runtime re-project from source data every time it needs to draw things. That can rapidly affect performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use a &lt;A href="https://www.arcgis.com/home/group.html?id=4c790318395940c18a16e8acd721de25#overview"&gt;WGS84 Basemap&lt;/A&gt;, you will see coordinates in Lat&amp;nbsp;Lon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, my previous&amp;nbsp;suggestions will be more flexible and won't lock you to one basemap spatial reference or another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that if you provide points created &lt;SPAN style="font-size: 15px;"&gt;with&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;STRONG&gt;AGSPointMakeWGS84() &lt;/STRONG&gt;(or the standard &lt;STRONG&gt;AGSPoint&lt;/STRONG&gt; constructor, &lt;EM&gt;specifying a Spatial Reference of .wgs84()&lt;/EM&gt;)&amp;nbsp;then you can provide those to set the viewpoint, etc. and Runtime will convert them appropriately. Really, your issue will typically only arise when reading coordinates and displaying them to the user (also when debugging and sanity checking against known latitudes and longitudes).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2019 20:56:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/m-p/490175#M4191</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-11-19T20:56:55Z</dc:date>
    </item>
  </channel>
</rss>

