Android ESRI地图如何从屏幕点获取纬度经度

问题描述

我知道我们可以使用此方法从ESRI地图上的触摸位置获取screenPoint

val screenPoint = android.graphics.Point(motionEvent.x.roundToInt(),motionEvent.y.roundToInt())

我们也可以使用此方法从mapPoint中获得screenPoint

val mapPoint = mapView?.screenToLocation(screenPoint)

现在如何从这些screenPointmapPoint中获得经纬度

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)