Class: LongTouch

ol.interaction. LongTouch


new LongTouch(options)

Interaction to handle longtouch events

Parameters:
Name Type Description
options olx.interaction.LongTouchOptions
Properties
Name Type Description
handleLongTouchEvent function | undefined

Function handling "longtouch" events, it will receive a mapBrowserEvent.

delay interger | undefined

The delay for a long touch in ms, default is 1000

Extends

  • ol.interaction.Interaction