TouchZoomRotateHandler Class

Module: Handler

TouchZoomRotateHandler允许用户进行触摸缩放、旋转交互操作

Show:

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();

Properties

Events