Template:Coord-doc-dim

From the AARoads Wiki: Read about the road before you go
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 meters, the km suffix may be appended to indicate kilometers.

GeoHack uses dim: to select a map scale such that the viewing circle appears roughly 10 centimeters (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 kilometers (19 mi).

Samples
Subject View diameter Markup Result
Western Hemisphere 10,000 kilometers (6,200 mi) {{Coord-doc-dim|0|N|90|W|dim:10000km}} 0°N 90°W / 0°N 90°W / 0; -90
Ohio 400 kilometers (250 mi) {{Coord-doc-dim|40.5|-82.5|dim:400km}} 40°30′N 82°30′W / 40.5°N 82.5°W / 40.5; -82.5
Dresden 20,000 meters (12 mi) {{Coord-doc-dim|51.033|13.73|dim:20000}} 51°01′59″N 13°43′48″E / 51.033°N 13.73°E / 51.033; 13.73
Statue of Liberty 100 meters (330 ft) {{Coord-doc-dim|40.6892|-74.0445|dim:100}} 40°41′21″N 74°02′40″W / 40.6892°N 74.0445°W / 40.6892; -74.0445