<?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: The underlying map problem in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1105809#M7155</link>
    <description>&lt;P&gt;Hello, SORRY for replying to your message so late. First, this case works fine on 10.x. Then I found the method of converting GCJ-02 coordinates on the Internet, and there was still a big deviation after conversion. To be sure, latitude and longitude is indeed in the self. The mapView. ViewpointChangedHandler get in this method, I'm not sure where is the problem really appear, request your help.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 08:07:11 GMT</pubDate>
    <dc:creator>雪原高1027</dc:creator>
    <dc:date>2021-10-08T08:07:11Z</dc:date>
    <item>
      <title>The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1101945#M7129</link>
      <description>&lt;P&gt;Hello. In the previous project, I used the framework version 10.2.4, and the map displayed was in Chinese style. Now after migrating to the latest version, the map displayed now becomes full English annotation, which is different from the map display of the old version, as shown in the picture I uploaded. Could you tell me how to display the map in Chinese?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Sep 2021 07:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1101945#M7129</guid>
      <dc:creator>雪原高1027</dc:creator>
      <dc:date>2021-09-26T07:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1102016#M7130</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are aware of this question and will provide a more detailed answer soon. Meanwhile, you can...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check out a list of available 中文简体 basemaps provided by Esri here:&amp;nbsp;&lt;A href="https://www.arcgis.com/home/group.html?id=791e79050e574514ab4ef65df73528eb#overview" target="_blank" rel="noopener"&gt;https://www.arcgis.com/home/group.html?id=791e79050e574514ab4ef65df73528eb#overview&lt;/A&gt;&amp;nbsp;(and explore them on ArcGIS Online in the web browser if you like)&lt;/LI&gt;&lt;LI&gt;Try out the street style of OpenStreetMap basemap, i.e. AGSMap(basemapStyle: .osmStreets) to see if it fits your needs&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 06:32:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1102016#M7130</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2021-09-27T06:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1102990#M7134</link>
      <description>&lt;P&gt;Thank you for your reply. And then, I have another question. When I move or zoom the map, I was in "viewpointChangedHandler callback method to derive the self. The mapView. VisibleArea. Among other. Center. X", access to the coordinates of the inaccurate, and the actual coordinates deviation is very large. As is shown in&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 08:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1102990#M7134</guid>
      <dc:creator>雪原高1027</dc:creator>
      <dc:date>2021-09-29T08:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1103798#M7135</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Personally I never worked with mapping and positioning solutions for mainland China, but I've heard about the GCJ-02 coordinate system issue. See a few discussions below&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://en.wikipedia.org/wiki/Restrictions_on_geographic_data_in_China#:~:text=GCJ%2D02%20(colloquially%20Mars%20Coordinates,and%20based%20on%20WGS%2D84" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Restrictions_on_geographic_data_in_China#:~:text=GCJ%2D02%20(colloquially%20Mars%20Coordinates,and%20based%20on%20WGS%2D84&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/china-map-offset-problem/idi-p/940669" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-ideas/china-map-offset-problem/idi-p/940669&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Not sure if this is related to your problem, but it's worth a look. It hasn't been long since I joined Esri, so unfortunately I don't know if the coordinate system conversion is an issue or not in the Runtime. Did it work in 10.x version of Runtime?&lt;/P&gt;&lt;P&gt;Also, you may find it useful checking out GeoScene, the zh-cn localized version of Runtime provided by Esri's China subsidiary&amp;nbsp;&lt;SPAN&gt;易智瑞, as well as their support page.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.geoscene.cn/support-30.html" target="_blank" rel="noopener"&gt;https://www.geoscene.cn/support-30.html&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;They should be more acquainted with these China-specific issues and may provide help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 20:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1103798#M7135</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2021-10-01T20:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1103801#M7136</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/47371"&gt;@MiaogengZhang&lt;/a&gt;&amp;nbsp;Sorry to call you out of the blue. Do you happen to know sth about this issue? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 00:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1103801#M7136</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2021-10-01T00:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1105809#M7155</link>
      <description>&lt;P&gt;Hello, SORRY for replying to your message so late. First, this case works fine on 10.x. Then I found the method of converting GCJ-02 coordinates on the Internet, and there was still a big deviation after conversion. To be sure, latitude and longitude is indeed in the self. The mapView. ViewpointChangedHandler get in this method, I'm not sure where is the problem really appear, request your help.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 08:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1105809#M7155</guid>
      <dc:creator>雪原高1027</dc:creator>
      <dc:date>2021-10-08T08:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1106105#M7159</link>
      <description>&lt;P&gt;Want to make sure I get your question correct. Do you mean...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The&amp;nbsp;&lt;EM&gt;mapView.locationDisplay.location&lt;/EM&gt; is inaccurate comparing to the real coordinates of the device?&lt;/LI&gt;&lt;LI&gt;Or the &lt;EM&gt;mapPoint&lt;/EM&gt;&amp;nbsp;received from&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;geoView&lt;/SPAN&gt;(&lt;SPAN class=""&gt;_&lt;/SPAN&gt; geoView: AGSGeoView, &lt;SPAN class=""&gt;didTapAtScreenPoint&lt;/SPAN&gt; screenPoint: CGPoint, &lt;SPAN class=""&gt;mapPoint&lt;/SPAN&gt;: AGSPoint)&lt;/EM&gt; delegate method is inaccurate?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This shouldn't be related to the&amp;nbsp;&lt;EM&gt;viewpointChangedHandler&lt;/EM&gt; callback. A view point is only related to the map display, not to the underlying coordinates of a map point or a device.&lt;/P&gt;&lt;P&gt;You can also describe your problem again in 中文 if it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 19:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1106105#M7159</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2021-10-08T19:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1106208#M7160</link>
      <description>&lt;P&gt;你好，我这边的情况是当移动或者缩放地图时，&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;self&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;viewpointChangedHandler&lt;SPAN class=""&gt; = ^{}该方法会回调，我在该方法里面通过&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;weakSelf.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;visibleArea&lt;SPAN class=""&gt;.&lt;/SPAN&gt;extent&lt;SPAN class=""&gt;.&lt;/SPAN&gt;center&lt;SPAN class=""&gt;.&lt;/SPAN&gt;x和&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;weakSelf.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;visibleArea&lt;SPAN class=""&gt;.&lt;/SPAN&gt;extent&lt;SPAN class=""&gt;.&lt;/SPAN&gt;center&lt;SPAN class=""&gt;.&lt;/SPAN&gt;y&lt;/P&gt;&lt;P class=""&gt;获取经纬度，获取到的经纬度如截图所示“经度 13380673.030453-- 纬度 3537190.484881”，该经纬度明显不对，请问该问题的原因是？&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 02:18:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1106208#M7160</guid>
      <dc:creator>雪原高1027</dc:creator>
      <dc:date>2021-10-09T02:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: The underlying map problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1106211#M7161</link>
      <description>&lt;P&gt;地图上点坐标的Spatial Reference是与地图相同的。你的截图里的坐标看起来像是使用的Web Mercator投影的坐标。由于历史原因，电子设备的平面地图大多使用的是WebMercator投影。不知道你所指的经纬度偏差是不是因为这个原因？转换成WGS 84坐标后就是常见的东经北纬的数值了。&lt;/P&gt;&lt;P&gt;It looks like the coordinates in your screenshot are in WebMercator spatial reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code convert them into &lt;A title="WGS" href="https://en.wikipedia.org/wiki/World_Geodetic_System" target="_self"&gt;WGS 84&lt;/A&gt;.&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;if let center = mapView.currentViewpoint(with: .centerAndScale)?.targetGeometry {
    let wgs84Point = AGSGeometryEngine.projectGeometry(center, to: .wgs84()) as! AGSPoint
    print(wgs84Point)
}&lt;/LI-CODE&gt;&lt;P&gt;Please refer to this post for more ways of getting the center point of current map:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/td-p/490171" target="_blank"&gt;https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-get-current-map-center-zoom-level/td-p/490171&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feel free to let me know if it is not the case.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 03:29:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/the-underlying-map-problem/m-p/1106211#M7161</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2021-10-09T03:29:44Z</dc:date>
    </item>
  </channel>
</rss>

