Skip to content

Latest commit

 

History

History

zoom

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

<< all controls

🔍 @mapbox-controls/zoom

Control to zoom in and zoom out map. The difference between the standard ones is that they are not combined with a compass control.

npm i @mapbox-controls/zoom
import ZoomControl from '@mapbox-controls/zoom';
import '@mapbox-controls/zoom/src/index.css';

map.addControl(new ZoomControl(), 'bottom-right');