Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 488 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 488 Bytes

<< 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');