Just override the onMapClick
method of GoogleMap.OnMapClickListener
class. You will get the LatLng
point of the clicked area, then :
map.setOnMapClickListener(new OnMapClickListener() {
@Override
public void onMapClick(LatLng point) {
// TODO Auto-generated method stub
double lat = point.latitude;
double lng = point.longitude;
}
});