Can I disable drag functionality when the user tries to drag the map with his fingers without disturbing the Zoom in and Zoom out?
Any one please suggest an idea
for disable dragging in MapFragment this code :
MapFragment
googleMap.getUiSettings().setScrollGesturesEnabled(false);
works as @tomrozb said. but it dosn't disable map zoom by touch on map. for that use this code beside above code:
googleMap.getUiSettings().setZoomGesturesEnabled(false);