Skip to content

Map.TapHold

Map.TapHold is used to simulate contextmenu event on long hold, which otherwise is not fired by mobile Safari.

Touch interaction options

OptionTypeDefaultDescription
tapHoldBooleanEnables simulation of contextmenu event, default is true for mobile Safari.
tapToleranceNumber15The max number of pixels a user can shift his finger during touch