Module:Location map/data/Germany Weser
name | Weser | ||
---|---|---|---|
x | (100*( ($2 - (12.05 + 8.0)/2)*((1 - 0.91)*($1 - 54.02)/(50.0 - 54.02) + 0.91) + (12.05 + 8.0)/2 - 8.0)/(12.05 - 8.0)) | ||
y | (100*($1 - 54.02)/(50.0 - 54.02)) | ||
image | A_Weser_watershed_closer.gif
| ||
Module:Location map/data/Germany Weser is a location map definition used to overlay markers and labels on an equirectangular projection map of Weser. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Usage
These definitions are used by the following templates when invoked with parameter "Germany Weser":
{{Location map|Germany Weser |...}}
{{Location map many|Germany Weser |...}}
{{Location map+|Germany Weser |...}}
{{Location map~|Germany Weser |...}}
Map definition
name = Weser
- Name used in the default map caption
image = A_Weser_watershed_closer.gif
- The default map image, without "Image:" or "File:"
x = (100*( ($2 - (12.05 + 8.0)/2)*((1 - 0.91)*($1 - 54.02)/(50.0 - 54.02) + 0.91) + (12.05 + 8.0)/2 - 8.0)/(12.05 - 8.0))
- An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
y = (100*($1 - 54.02)/(50.0 - 54.02))
- An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge
Examples using location map templates
Example labeling "Bremen":
{{Location map | Germany Weser | label = Bremen | label_size = 90 <--percent 0-900% | caption = Show "Bremen" on map | lat=53.075 | long=8.8071 | background = #FFFF99 | float = right | width = 250 }}
Example for orange "Bad Hersfeld" at bottom:
{{Location map | Germany Weser | label=Bad Hersfeld | position=left | label_size = 90 <--percent 0-900% | caption = Show "Bad Hersfeld" on map | lat=50.8689 | long=9.7072 | background = <!--orange-->#FFCC66 | float = right | width = 220 | AlternativeMap = <!--none(default)--> }}
Two examples, showing "Fulda" & "Bremerhaven" with map position aligned (by using parameters "float=left" and "float=right"). Note that the marker for "Bremerhaven" is west of the mark, due to narrow longitudes far north (on non-equirectangular map).
Longitude lines converge to the center, so center towns would be positioned more accurately. The "polar" skew factor is used to scale longitude smaller near polar latitudes (relative to map height), and position longitudes from map center, rather than left-side base longitude.
Multiple markers on the same map
Example showing "Bremerhaven" (and "Wolfsburg") on one map.
{{Location map many | Germany Weser | Show "Bremerhaven" & "Wolfsburg" | label = Bremerhaven | label_size = <!-- 0-900%--> 84 | lat=53.53 | long=8.59 | marksize=7 | position=top | background = <!--gold-->#CCCC11 | label2 = Wolfsburg | label2_size=103 | lat2=52.4267 | pos2=left | long2=10.7893 | bg2 = <!--bluegreen-->#66BBDD | label3 = Anytown | label3_size=93 | pos3=top | lat3_deg=51 | lat3_min=1.1 | lon3_deg=11 | lon3_min=0.0 | bg3 = <!--yellow-->#EEEE11 | float = right | width = 230 }}
See also
- Module:Location map/data/Germany
- Module:Location map/data/Germany Neckar
- Module:Location map/data/Germany Rhine
- Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
- Infobox templates incorporating (passing values to) the Location map template
- Template:Infobox aerial lift line
- Template:Infobox airport — alternative map support: relief (via pushpin_relief) and AlternativeMap (via pushpin_image)
- Template:Infobox ancient site — alternative map support: relief
- Template:Infobox artwork
- Template:Infobox Australian road
- Template:Infobox body of water
- Template:Infobox bridge
- Template:Infobox building — alternative map support: relief
- Template:Infobox business park
- Template:Infobox casino
- Template:Infobox castrum — alternative map support: relief (via map_relief)
- Template:Infobox cave — alternative map support: relief
- Template:Infobox cemetery
- Template:Infobox civil conflict
- Template:Infobox climbing area
- Template:Infobox climbing route — alternative map support: relief
- Template:Infobox church — alternative map support: relief
- Template:Infobox concentration camp
- Template:Infobox convention center
- Template:Infobox cycling championship
- Template:Infobox dam — alternative map support: relief
- Template:Infobox desalination plant
- Template:Infobox earthquakes in date
- Template:Infobox Egyptian tomb
- Template:Infobox factory
- Template:Infobox fault
- Template:Infobox forest — alternative map support: relief
- Template:Infobox glacier — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox golf facility — alternative map support: relief
- Template:Infobox Hindu temple
- Template:Infobox historic site — alternative map support: relief (via map_relief)
- Template:Infobox Holocaust event
- Template:Infobox hospital — alternative map support: relief
- Template:Infobox hut — alternative map support: relief
- Template:Infobox islands — alternative map support: relief
- Template:Infobox landform
- Template:Infobox lighthouse — alternative map support: relief
- Template:Infobox military conflict — alternative map support: relief (via map_relief)
- Template:Infobox military installation — alternative map support: relief (via map_relief)
- Template:Infobox military operation
- Template:Infobox mill building
- Template:Infobox mine
- Template:Infobox mining
- Template:Infobox monastery
- Template:Infobox monument
- Template:Infobox motorway services
- Template:Infobox mountain — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox mountain pass — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox museum — alternative map support: relief (via map_relief)
- Template:Infobox New York City Subway station
- Template:Infobox New Zealand suburb
- Template:Infobox observatory
- Template:Infobox oil field — alternative map support: relief
- Template:Infobox oil refinery — alternative map support: relief
- Template:Infobox park — alternative map support: relief
- Template:Infobox port
- Template:Infobox power station — alternative map support: relief
- Template:Infobox prison
- Template:Infobox protected area — alternative map support: relief
- Template:Infobox pyramid
- Template:Infobox reactor
- Template:Infobox religious building — alternative map support: relief
- Template:Infobox residential college
- Template:Infobox restaurant
- Template:Infobox river
- Template:Infobox Russian inhabited locality
- Template:Infobox school
- Template:Infobox Scottish island
- Template:Infobox sedimentary basin
- Template:Infobox settlement — alternative map support: relief (via pushpin_relief) and AlternativeMap (via pushpin_image)
- Template:Infobox ski area
- Template:Infobox Spanish missions in the Americas
- Template:Infobox sports rivalry
- Template:Infobox spring — alternative map support: relief
- Template:Infobox station
- Template:Infobox street
- Template:Infobox superfund
- Template:Infobox terrestrial impact site
- Template:Infobox transmitter
- Template:Infobox tunnel
- Template:Infobox valley — alternative map support: relief
- Template:Infobox waterfall — alternative map support: relief
- Template:Infobox waterlock
- Template:Infobox UNESCO World Heritage Site — alternative map support: relief
- Template:Infobox university
- Template:Infobox urban feature
- Template:Infobox venue
- Template:Infobox wildfire
- Template:Infobox WorldScouting