get Mappedin Coordinate At Screen Coordinate
abstract fun getMappedinCoordinateAtScreenCoordinate( x: Int, y: Int, map: MPIMap, callback: (MPIMap.MPICoordinate?) -> Unit)
Content copied to clipboard
Get the MPIMap.MPICoordinate using a MapView's screen x and y coordinate. The coordinate is relative to the top left corner of the map view. The top left corner of the MapView is (0, 0). The bottom right corner is MapView.width
and MapView.height
.
Parameters
x
x coordinate in pixels
y
y coordinate in pixels
map
The map to get the coordinate from.
callback
The callback that coordinate as an MPIMap.MPICoordinate