The ZoomInButton zooms the map in when clicked. It respects the min and max zoom levels of the map. The current map ViewState must be passed to this control.
ZoomInButton
<ZoomInButton active {...this.state.viewState} x={40} y={200} hint={<>Zoom in</>}/>
Generated using TypeDoc
The
ZoomInButton
zooms the map in when clicked. It respects the min and max zoom levels of the map. The current map ViewState must be passed to this control.Example