Class: DragOverlay

ol.interaction. DragOverlay


new DragOverlay(options)

Drag an overlay on the map

Parameters:
Name Type Description
options any
Properties
Name Type Description
overlays ol.Overlay | Array.<ol.Overlay>

the overlays to drag

Fires:
  • event:dragstart
  • event:dragging
  • event:dragend

Extends

  • ol.interaction.Pointer

Methods


addOverlay(ov)

Add an overlay to the interacton

Parameters:
Name Type Description
ov ol.Overlay

removeOverlay(ov)

Remove an overlay from the interacton

Parameters:
Name Type Description
ov ol.Overlay