Template:Coord-doc-dim

From Packard Bell Planet Wiki
Jump to: navigation, 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<code> suffix may be appended to indicate kilometres.

GeoHack uses <code>dim: to select a map scale such that the viewing circle appears roughly 10 centimetres ({{#invoke:Math|precision_format| 3.9370078740157 | 0}} 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 (Template:Hid{{#invoke:Math|precision_format| 18.64113576712 | 1-1 }} mi).

Samples
Subject View diameter Markup Result
Western Hemisphere 10,000 kilometres (Template:Hid{{#invoke:Math|precision_format| 6,213.7119223733 | 1-3 }} mi) {{coord|0|N|90|W|dim:10000km}} N|90|W|dim:10000km name=

}}

Ohio 400 kilometres (Template:Hid{{#invoke:Math|precision_format| 248.54847689493 | 1-2 }} mi) {{coord|40.5|-82.5|dim:400km}} -82.5|dim:400km name=

}}

Dresden 20,000 metres (Template:Hid{{#invoke:Math|precision_format| 12.427423844747 | 1-1 }} mi) {{coord|51.033|13.73|dim:20000}} 13.73|dim:20000 name=

}}

Statue of Liberty 100 metres (Template:Hid{{#invoke:Math|precision_format| 328.08398950131 | 1-2 }} ft) {{coord|40.6892|-74.0445|dim:100}} -74.0445|dim:100 name=

}}