This widget controls the zoom level of a deck.gl view. Click '+' to zoom in by 1, click '-' to zoom out by 1. Supports controlling Map and Globe views.
Default: 'zoom'
Unique identifier of the widget.
Default: null
The widget is attached to the view identified by this viewId
. When assigned, the widget is placed within the specified view, and exclusively interacts with it. Required when using multiple views.
Default: 'top-left'
Widget position within the view relative to the map container. Valid options are top-left
, top-right
, bottom-left
, bottom-right
, or fill
.
Default: 'vertical'
Widget button orientation. Valid options are vertical
or horizontal
.
Default: undefined
A compatible DOM element which should be made full screen. By default, the map container element will be made full screen.
Tooltip message displayed while hovering a mouse over the zoom in button.
Default: 'Zoom In'
Tooltip message displayed while hovering a mouse over the zoom out button.
Default: 'Zoom Out'
Default: 200
Zoom transition duration in milliseconds.
Default: {}
Additional CSS styles for the canvas.
Default: undefined
Class name to attach to the widget element. The element has the default class name of deck-widget deck-zoom-widget
.