Is it possible to disable moving inside the google map?
I created customMapView that extends MapView and override the onInterceptTouchEvent method.
public class customMapView extends MapView {
public customMapView(Context context) {
super(context);
}
public customMapView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public customMapView(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
}
public customMapView(Context context, GoogleMapOptions googleMapOptions) {
super(context, googleMapOptions);
}
@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
// return super.onInterceptTouchEvent(ev);
return true;
}
}