TouchZoomRotateHandler Class
TouchZoomRotateHandler
允许用户进行触摸缩放、旋转
交互操作
Index
Methods
isEnabled
()返回触摸交互是否被启用。
Returns:
Boolean
如果触摸交互被启用,将会返回true
。
enable
()启用触摸交互功能。
Example:
map.touchZoomRotate.enable();
disable
()禁用触摸交互功能。
Example:
map.touchZoomRotate.disable();
disableRotation
()禁用触摸旋转交互。
Example:
map.touchZoomRotate.disableRotation();
enableRotation
()启用触摸旋转交互。
Example:
map.touchZoomRotate.enable();
map.touchZoomRotate.enableRotation();