MapContext.gestureEnable

Enable or disable all gestures.

  • 1: enable all gestures.
  • 0: disable all gestures.

Parameter

PropertyType

Required

Description
isGestureEnableIntYesAn indicator of whether the gestures are enabled.

Sample code

copy
this.mapCtx = my.createMapContext('map');
this.mapCtx.gestureEnable({isGestureEnable:1});