Template:Coord-doc-dim

From 'City of Adelaide' History and Genealogy Site
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 {{safesubst:#invoke:convert|convert}} in diameter on a 72 dpi computer monitor. If no dim:, type:, or scale: parameters are provided, GeoHack uses its default viewing circle of {{safesubst:#invoke:convert|convert}}.

Samples
Subject View diameter Markup Result
Western Hemisphere {{safesubst:#invoke:convert|convert}} {{coord|0|N|90|W|dim:10000km}} coord}}{{#coordinates:0|N|90|W|dim:10000km name=

}}

Ohio {{safesubst:#invoke:convert|convert}} {{coord|40.5|-82.5|dim:400km}} coord}}{{#coordinates:40.5|-82.5|dim:400km name=

}}

Dresden {{safesubst:#invoke:convert|convert}} {{coord|51.033|13.73|dim:20000}} coord}}{{#coordinates:51.033|13.73|dim:20000 name=

}}

Statue of Liberty {{safesubst:#invoke:convert|convert}} {{coord|40.6892|-74.0445|dim:100}} coord}}{{#coordinates:40.6892|-74.0445|dim:100 name=

}}