Type Boolean Object Map Library native.* Revision Release 2021.3646 Keywords isScrollEnabled
A Boolean that determines whether users can scroll the map by hand. Default is
true. Set to
false to prevent users from scrolling the map. Note that a map can still be scrolled/panned via the object:setCenter() and object:setRegion() functions, even if this property is
false. This is useful if you want map movement to be controlled by the program, not the user.
-- Do not allow the user to scroll and zoom the map. myMap.isScrollEnabled = false myMap.isZoomEnabled = false