Template:Location map GermanyCIAx/doc
From Wikipedia, the free encyclopedia
The map definition, Template:Location_map_GermanyCIAx, is intended for overlaying markers and labels on similar maps of Germany. It is a map locator for the Germany CIA-extended map, skewing northern longitudes.
Some of the related mapping procedures are:
- Template:Location_map_skew - puts symbols/labels on an image with converging longitudes.
- Template:Location_map_polarx - puts symbols/labels on an image with converging polar longitudes & arcing latitudes.
- Template:Location_map_many_polarx - puts up to 5 symbols/labels on an image, using polar longitudes/latitudes.
This template uses the mapping procedure "Template:Location_map_skew" which must be invoked with parameter "SwedenCIAx" to process the options before it uses this template. Specify each of the individual parameters by using vertical bars: {{Location map | GermanyCIAx | ...}}.
Map parameters | ||
top | 55.1 | latitude at top of map |
bottom | 47.2 | latitude at bottom of map |
left | 5.5 | longitude at map left edge |
right | 15.5 | longitude at map right edge |
skew | skew to narrow longitudes | |
lat_skew | skew to arc latitudes at edges |
- Because the map is not equirectangular, the coordinates will need to be adjusted to match northern-area mapping, or use skewed coordinates with "Template:Location map skew".
-
-
- See: {{Location map skew}} for description of parameters, or Examples below.
-
[edit] Examples
Example labeling "Munich":
- {{Location map
- | GermanyCIAx
- | label = Munich
- | label_size = 90 <--percent 0-900%
- | caption = Show "Munich" on map
- | lat_deg=48 | lat_min=8
- | lon_deg=11 | lon_min=34
- | background = #FFFF99
- | float = right
- | width = 270
- }}
Example for orange "Karlsruhe" at bottom:
- {{Location map
- | GermanyCIAx
- | label=Karlsruhe | position=left
- | label_size = 90 <--percent 0-900%
- | caption = Show "Karlsruhe" on map
- | lat=49.014 | long=8.4043
- | background = <!--orange-->#FFCC66
- | float = right
- | width = 260
- | AlternativeMap = <!-- none (default)-->
- }}
Two examples, showing "Stuttgart" & "Rostock" with map position aligned (by using parameters "float=left" and "float=right"). Note that the marker for "Rostock" is east of the mark, due to narrow longitudes far north (on non-equirectangular map).
Longitude position is calculated from the left margin, so left-side towns would be positioned more accurately. The "polar" skew factor should be used (as in Template:Location_map_skew) to scale longitude smaller near polar latitudes (relative to map height), and position longitudes from map center, rather than left-side base longitude (see example at bottom).
Example labeling "Berlin" on wrong-scale map:
- {{Location map
- | GermanyCIAx
- | label = Berlin | position = top
- | label_size = <!-- 0-900%--> 128
- | caption = "Berlin" put on wrong-scale map
- | lat_deg=52 | lat_min=31
- | lon_deg=13 | lon_min=25
- | background = #FFFF99
- | float = right
- | width = 240
- | AlternativeMap = Karte Deutschland.png
- }}
[edit] Example skewing Rostock/Emden
Example showing "Rostock" (and "Emden") on one map.
- {{Location map skew | GermanyCIAx
- | caption = Show "Rostock" & "Emden"
- | skew=0.90
- | label = Rostock
- | label_size = <!-- 0-900%--> 110
- | lat_deg=54 | lat_min=5 | markhigh=8
- | lon_deg=12 | lon_min=8
- | background = <!--gold-->#CCCC11
- | label2 = Emden | label2_size =103
- | skew2=0.95
- | lat2_deg=53 | lat2_min=22.33 | pos2=left
- | lon2_deg=7 | lon2_min=12.4
- | bg2 = <!--bluegreen-->#66BBDD
- | label3 = Town
- | label3_size =<!-- 0-900%--> 103
- | lat3_deg=52 | lat3_min=22.33 | pos3=left
- | lon3_deg=7 | lon3_min=12.4
- | bg3 = <!--yellow-->#EEEE11
- | float = right | width = 250
- }}
The map uses alternate Template:Location_map_skew. Note that the marker for "Rostock" is correct now (had been east of the mark, due to narrow longitudes far north, on the non-equirectangular map).