MapContext.gestureEnable
Enable or disable all gestures.
- 1: enable all gestures.
- 0: disable all gestures.
Parameter
Property | Type | Required | Description |
isGestureEnable | Int | Yes | An indicator of whether the gestures are enabled. |
Sample code
copy
this.mapCtx = my.createMapContext('map');
this.mapCtx.gestureEnable({isGestureEnable:1});