mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 04:00:33 +08: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