Long press component

Video: Long Press Component

The Long Press Component is an example of a control which reacts to the Long Press gesture from the Gesture API. For the demonstration, the component will display the associated GeoCoordinate of location touched on the Map. The Long Press gesture is typically used as an input mechanism.

Summary

The Long Press Component uses the following design, it relies on the presence of the Gesture API. This gives the component a consistent feel. An alternative long press component (TimerLongTouchComponent) which is based on the timing of long press is also available for devices which do not support the Gesture API.