In previous SDK It was possible to get a point on map using following code.
public boolean onSingleTap(MotionEvent point) {
Point mapPoint = mMapView.toMapPoint(point.getX(), point.getY());
}
However, in 100.x, toMapPoint function doesn't exist anymore. How can we get a point on map if we have MotionEvent object?
Solved! Go to Solution.
Found the alternative function in SDK 100.x:
mMapView.screenToLocation(point);
Found the alternative function in SDK 100.x:
mMapView.screenToLocation(point);