coordinateForPoint

abstract fun coordinateForPoint(point: Point): Result<GeoCoordinate, InvalidPointException>

Converts a Point on the MapView to a position on the map. Returns Result with GeoCoordinate or InvalidPointException when cannot obtain a coordinate from the given point. It can occur when the point is not on the map.

Return

The Result. If the call succeeded, this contains the GeoCoordinate. If an error occurred it contains an InvalidPointException instance.

Parameters

point

Point on the MapView.