Readonly
clientAn array containing the (x,y) position of the event in client coordinates. 0,0 is the upper left corner of the browser viewport. Scrolling offsets are not included in this value.
Readonly
domThe raw dom event generated by the browser.
Readonly
inputThe input modality type. Either 'mouse' or 'touch'.
The modifier. One of the constants from ModifierType. A modifier indicates the combination of the modifier keys pressed during the GestureEvent. The modifier keys are Alt, Ctrl and Shift.
Readonly
pageAn array containing the (x,y) position of the event in page coordinates. 0,0 is the upper left corner of the currently visible page area in the window. Unlike clientPosition, scrolling offsets are included in this value.
Readonly
scaleA factor indicating whether the pinching fingers are progressing towards each other (<1) or away from each other (>1). The factor is defined as the ratio of the current span (distance between fingers) to the previous span.
Readonly
scaleA factor defined as the ratio of the current span (distance between fingers) to the span at the start of the pinch.
Readonly
typeThe event type. One of the constants from GestureEventType.
Readonly
viewA Point containing the (x,y) position of the event relative to the map (in pixels). 0,0 is the upper left corner of the map.The reference of this point is null.
Note that this property contains the same coordinates as viewPosition. The key difference is that this property is a Point while viewPosition is an Array. Because this is a Point, you can directly pass its values to transformations such as map.viewToMapTransformation.
Readonly
viewAn array containing the (x,y) position of the event relative to the map. 0,0 is the upper left corner of the map
GestureEventType.PINCH.
Since
2021.0.2