I wanted to add a marker to an indirect location on the map. In addition, I wanted to show latitude and longitude when I touched the place. I will be able to show the marker. But I can’t show the latitude and longitude in the toast message.
I executed my own gesture listener as described in the document: public class MyOnGestureListener implements MapGesture.OnGestureListener
This has an overridden method that I used:
@Override
public boolean onTapEvent(PointF p) {
return true;
}
In this I wanted to show latitude and longitude.
source
share