mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-16 10:34:34 +00:00
* Add property zoomControl to class Map
Leaflet has a map property called zoomControl. This is useful for setting the position on these controls for the map. This is not available via the typings.
Example usage:
map.zoomControl.setPosition('topright');
* Leaflet: Map.zoomControl property
Specify Map.zoomControl type more precisely as Control.Zoom