Maps SDK for Web

tt.DoubleClickZoomHandler

The DoubleClickZoomHandler allows the user to zoom the map at a point by double clicking or double tapping.

Methods

disable( )

Disables the 'double click to zoom' interaction.

enable( )

Enables the 'double click to zoom' interaction.

Example
map.doubleClickZoom.enable();

isActive( ): Boolean

Returns a Boolean indicating whether the 'double click to zoom' interaction is active, i.e. currently being used.

Returns

true if the 'double click to zoom' interaction is active.

isEnabled( ): Boolean

Returns a Boolean indicating whether the 'double click to zoom' interaction is enabled.

Returns

true if the 'double click to zoom' interaction is enabled.