mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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
|
||
|---|---|---|
| .. | ||
| v0 | ||
| index.d.ts | ||
| leaflet-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||