DragPanHandler

GeoGlobe.Handler. DragPanHandler

继承于GeoGlobe.Handler 平移拖拽,为二维地图提供平移拖拽功能。

Constructor

new DragPanHandler()

Members

map :GeoGlobe.Map

Default Value:
  • null
地图对象。
Type:

Methods

disable()

不能交互。

enable()

能交互。

initialize(options)

GeoGlobe.Handler构造函数。
Parameters:
Name Type Description
options Object Handler.DragPanHandler相关选项设置。

isActivate() → {Boolean}

添加控件。
Returns:
active - 是否激活。
Type
Boolean

isEnabled() → {Boolean}

是否交互。
Returns:
able - 是否交互。
Type
Boolean