1

screenPointこれを使用して、ESRIマップ上のタッチされた場所から取得できることを知っています

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

また、これを使用してmapPointからを取得できますscreenPoint

val mapPoint = mapView?.screenToLocation(screenPoint)

これらから緯度と経度を取得するにはどうすればよいですscreenPointmapPoint

4

1 に答える 1