Template:Map zoom
Appearance
This template uses Lua: |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
{{Map zoom}} is used to generate the Open Street Map zoom level for an object.. The template accepts a number of (optional) parameters that describe the physical dimensions of an object:
- length_mi
- length_km
- width_mi
- width_km
- area_mi2
- area_km2
- area_acre
- area_ha
The template can accept parameters that describe the size of the object on the screen: |viewport_cm=
or |viewport_px=
.
The template also accepts geohack parameters to generate the zoom level:
- dim
- scale
- type (e.g., "mountain" or "city")
- population (for type="city" only)