com.supermap.web.actions
public class Pan
继承 Pan Inheritance MapAction Inheritance flash.events.EventDispatcher
子类 DrawPoint

地图平移操作.

通过鼠标完成平移地图的操作。



公共属性
  属性 定义方
  Inherited map : Map
获取或设置与交互操作绑定的地图控件。
MapAction
受保护的属性
  属性 定义方
  Inherited _cursorClass : Class
MapAction
  Inherited _cursorID : int
MapAction
  Inherited _cursorXOffset : Number = 0
MapAction
  Inherited _cursorYOffset : Number = 0
MapAction
  Inherited _isMouseOut : Boolean
MapAction
公共方法
  方法 定义方
   
Pan(map:Map)
初始化 Pan 的新实例。
Pan
  Inherited
MapAction
  Inherited
setCursor(value:Class, xOffset:Number = 0, yOffset:Number = 0):void
定义鼠标样式的类对象。
MapAction
受保护的方法
  方法 定义方
  Inherited
onMouseClick(event:MouseEvent):void
MouseEvent.CLICK 事件的侦听函数。
MapAction
  Inherited
onMouseDoubleClick(event:MouseEvent):void
MouseEvent.DOUBLE_CLICK 事件的侦听函数。
MapAction
   
onMouseDown(event:MouseEvent):void
[Override] MouseEvent.MOUSE_DOWN 事件的侦听函数。
Pan
  Inherited
onMouseMove(event:MouseEvent):void
MouseEvent.MOUSE_MOVE 事件的侦听函数。
MapAction
   
onMouseOut(event:MouseEvent):void
[Override] MouseEvent.MOUSE_OUT 事件的侦听函数。
Pan
   
onMouseOver(event:MouseEvent):void
[Override] MouseEvent.MOUSE_OVER 事件的侦听函数。
Pan
  Inherited
onMouseUp(event:MouseEvent):void
MouseEvent.MOUSE_UP 事件的侦听函数。
MapAction
构造函数详细信息
Pan () 构造函数
public function Pan(map:Map)

初始化 Pan 的新实例。

参数
map:Map — 与平移操作绑定的地图控件。
方法详细描述
onMouseDown () 方法
override protected function onMouseDown(event:MouseEvent):void

MouseEvent.MOUSE_DOWN 事件的侦听函数。

参数

event:MouseEvent

onMouseOut () 方法  
override protected function onMouseOut(event:MouseEvent):void

MouseEvent.MOUSE_OUT 事件的侦听函数。

参数

event:MouseEvent

onMouseOver () 方法  
override protected function onMouseOver(event:MouseEvent):void

MouseEvent.MOUSE_OVER 事件的侦听函数。

参数

event:MouseEvent