Maps SDK for Web
tt.TouchPitchHandler
The TouchPitchHandler
allows the user to pitch the map by dragging up and down with two fingers.
Methods
disable( )
Disables the 'drag to pitch' interaction.
enable( )
Enables the 'drag to pitch' interaction.
Example
map.touchPitch.enable();
isActive( ): Boolean
Returns a Boolean indicating whether the 'drag to pitch' interaction is active, i.e. currently being used.
Returns
true if the 'drag to pitch' interaction is active.
isEnabled( ): Boolean
Returns a Boolean indicating whether the 'drag to pitch' interaction is enabled.
Returns
true if the 'drag to pitch' interaction is enabled.