screenPoint
これを使用して、ESRIマップ上のタッチされた場所から取得できることを知っています
val screenPoint = android.graphics.Point(motionEvent.x.roundToInt(), motionEvent.y.roundToInt())
また、これを使用してmapPoint
からを取得できますscreenPoint
val mapPoint = mapView?.screenToLocation(screenPoint)
これらから緯度と経度を取得するにはどうすればよいですscreenPoint
かmapPoint