Class: ol.interaction.DragPan

ol.interaction.DragPan

new DragPan

Parameters:
Name Type Argument Description
condition ol.interaction.ConditionType Condition.
kinetic ol.Kinetic= <optional>
(Optional) Kinetic object.
Source:
  • dragpaninteraction.js, line 23

Extends

Members

offsetX :number

Inherited From:
Source:
  • draginteraction.js, line 39

offsetY :number

Inherited From:
Source:
  • draginteraction.js, line 44

startCenter :ol.Coordinate

Inherited From:
Source:
  • draginteraction.js, line 49

startCoordinate :ol.Coordinate

Inherited From:
Source:
  • draginteraction.js, line 54

startX :number

Inherited From:
Source:
  • draginteraction.js, line 29

startY :number

Inherited From:
Source:
  • draginteraction.js, line 34

Methods

handleDown

Source:
  • dragpaninteraction.js, line 125

handleDrag

Source:
  • dragpaninteraction.js, line 52

handleDragEnd

Source:
  • dragpaninteraction.js, line 77

handleDragStart

Source:
  • dragpaninteraction.js, line 105

handleMapBrowserEvent

Inherited From:
Source:
  • draginteraction.js, line 92