Contents

isZoomEnabled

A Boolean value that determines whether the user may zoom in and out on the map using pinch gestures or the zoom control.

Declaration

get isZoomEnabled(): boolean;
set isZoomEnabled(value: boolean);

Discussion

Pinch-to-zoom with a trackpad requires browser touch event support. You can zoom the map programmatically when zoom isn’t in an enabled state by changing the region or visibleMapRect.

See Also

Accessing interaction properties