Template:Location map GermanyRhine

From Wikipedia, the free encyclopedia

[edit] Template:Location_map_GermanyRhine

This is a map locator for the Germany Rhine River map, allowing a specified marker-image (parameter "mark=") of set size (defaults "marksize=8") plus an optional name-label to be placed by latitude and longitude coordinates on the default map (or a given image).
This template is used by the parent "Template:Location map" which must be invoked with parameter "GermanyRhine" to process the options before it uses this template. Specify each of the individual parameters by using vertical bars: {{Location map | GermanyRhine | ...}}.
Because the map is equirectangular, the coordinates will NOT need to be adjusted to match northern-area mapping, or have skewed coordinates with "Template:Location map skew".
See: {{Location map}} for description of parameters, or Examples below.
Map for Rhine river
Map for Rhine river
Coordinates
Top 53.56
Bottom 46.48
Left 4.0
Right 12.02
skew 1.00


[edit] Examples

Duisburg (GermanyRhine)
Duisburg
Duisburg
Show "Duisburg" on map

Example labeling "Duisburg":

{{Location map
| GermanyRhine
| label = Duisburg
| label_size = 90 <--percent 0-900%
| caption = Show "Duisburg" on map
| lat = 51.4377
| long = 6.7706
| background = #FFFF99
| float = right
| width = 260
}}

Basel (GermanyRhine)
Basel
Basel
Show "Basel" on map

Example for orange "Basel" at bottom:

{{Location map
| GermanyRhine
| label=Basel | position=left
| label_size = 80 <--percent 0-900%
| caption = Show "Basel" on map
| lat = 47.5597
| long = 7.5805
| background = <!--orange-->#FFCC66
| float = right
| width = 220
| AlternativeMap = <!--none(default)-->
}}



Two examples, showing "Rottweil" & "Mannheim" with map position aligned (by using parameters "float=left" and "float=right"). Note that the marker for "Mannheim" is on the mark, due to parallel longitudes far north (on equirectangular map).

Rottweil (GermanyRhine)
Rottweil
Rottweil
Show "Rottweil" on map
Mannheim (GermanyRhine)
Mannheim
Mannheim
Show "Mannheim"

Longitude lines converge to the center, so center 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 below).


[edit] Example skewing Dusseldorf/Mannheim

Example showing "Dusseldorf" (and "Mannheim") on one map.


Mannheim (GermanyRhine)
Mannheim
Mannheim
Dusseldorf   -->
Dusseldorf
Anytown   -->
Anytown
Show "Mannheim" & "Düsseldorf"
{{Location map skew | GermanyRhine
| Show "Mannheim" & "Dusseldorf"
| skew=1.00
| label = Mannheim
| label_size = <!-- 0-900%--> 82
| lat=49.489 | long=8.469
| marksize=7 | position=left
| bg = <!--gold-->#CCCC11
| label2=Dusseldorf |label2_size=99
| skew2=1.00 | pos2=left
| lat2 = 51.2251
| long2 = 6.7757
| bg2 = <!--bluegreen-->#66BBDD
| label3 = Anytown
| label3_size=93 | pos3=top
| lat3_deg=48 | lat3_min=1.1
| lon3_deg=10 | lon3_min=0.0
| bg3 = <!--yellow-->#EEEE11
| float = right | width = 250
}}

The map uses alternate Template:Location_map_skew. Note that the marker for "Mannheim" has been placed correctly now (had been west of the mark, due to narrow longitudes far north, on the non-equirectangular map).


Düsseldorf (GermanyRhine)
Düsseldorf
Düsseldorf
"Dusseldorf" put on wrong-scale map

Example labeling "Dusseldorf" on wrong-scale map:

{{Location map
| GermanyRhine
| label = Düsseldorf | position = top
| label_size = <!-- 0-900%--> 128
| caption = "Dusseldorf" put on wrong-scale map
| lat = 51.2251
| long = 6.7757
| background = #FFFF99
| float = right
| width = 200
| AlternativeMap = Karte Deutschland.png
}}