The TwoFingersTouchHandlers allows the user to zoom the map two fingers
TwoFingersTouchHandler
Disables the "drag to pitch" interaction.
map.touchPitch.disable(); Copy
map.touchPitch.disable();
Enables the "drag to pitch" interaction.
Optional
map.touchPitch.enable(); Copy
map.touchPitch.enable();
Returns a Boolean indicating whether the "drag to pitch" interaction is active, i.e. currently being used.
true if the "drag to pitch" interaction is active.
true
Returns a Boolean indicating whether the "drag to pitch" interaction is enabled.
true if the "drag to pitch" interaction is enabled.
The
TwoFingersTouchHandler
s allows the user to zoom the map two fingers