map.zoomControl property missing from documentation #6246
Closed
Description
How to reproduce
- Leaflet version I'm using: Leaflet 1.3.3
- Browser (with version) I'm using: Chrome
- OS/Platform (with version) I'm using: Windows
use map.zoomControl property
e.g. map.zoomControl.setPosition('topright');
What behaviour I'm expecting and which behaviour I'm seeing
Many places outside of the official docs refer to the use of map.zoomControl yet this is not a listed property on the docs https://leafletjs.com/reference-1.3.2.html#map-property.
Expect that map.zoomControl returns the zoom control object. This is added to map when map.options.zoomConrol = true, and this is the default when not specified.
Minimal example reproducing the issue
https://next.plnkr.co/edit/sPkMyLnor5zfPg4w
- this example is as simple as possible
- this example does not rely on any third party code
Using http://leafletjs.com/edit.html or any other jsfiddle-like site.
Metadata
Assignees
Labels
No labels