Template:Coord-doc-dim

From Dharmawiki
Revision as of 21:29, 20 July 2016 by w>Srich32977 (balance the coords precision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The dim: parameter defines the diameter of a viewing circle centered on the coordinate. While the default unit of measurement is metres, the km suffix may be appended to indicate kilometres.

GeoHack uses dim: to select a map scale such that the viewing circle appears roughly 10 centimetres (4 in) in diameter on a 72 dpi computer monitor. If no dim:, type:, or scale: parameters are provided, GeoHack uses its default viewing circle of 30 kilometres (19 mi).

Samples
Subject View diameter Markup Result
Western Hemisphere 10,000 kilometres (6,200 mi) {{coord|0|N|90|W|dim:10000km}} Script error: The function "coord" does not exist.
Ohio 400 kilometres (250 mi) {{coord|40.5|-82.5|dim:400km}} Script error: The function "coord" does not exist.
Dresden 20,000 metres (12 mi) {{coord|51.03|13.73|dim:20000}} Script error: The function "coord" does not exist.
Statue of Liberty 100 metres (330 ft) {{coord|40.6892|-74.0445|dim:100}} Script error: The function "coord" does not exist.