Module:Location map/data/Seattle WA Downtown/doc
This is a documentation subpage for Module:Location map/data/Seattle WA Downtown. It may contain usage information, categories and other content that is not part of the original module page. |
name | Seattle WA Downtown | |||
---|---|---|---|---|
border coordinates | ||||
47.6188 | ||||
-122.3609 | ←↕→ | -122.3141 | ||
47.5909 | ||||
map center | 47°36′17″N 122°20′15″W / 47.60485°N 122.3375°W | |||
image | Seattle, WA - Downtown - OpenStreetMap.png
| |||
image1 | Seattle, WA - Downtown - OpenStreetMap.png
| |||
Module:Location map/data/Seattle WA Downtown is a location map definition used to overlay markers and labels on an equirectangular projection map of Seattle WA Downtown. 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 "Seattle WA Downtown":
{{Location map|Seattle WA Downtown |...}}
{{Location map many|Seattle WA Downtown |...}}
{{Location map+|Seattle WA Downtown |...}}
{{Location map~|Seattle WA Downtown |...}}
Map definition
name = Seattle WA Downtown
- Name used in the default map caption
image = Seattle, WA - Downtown - OpenStreetMap.png
- The default map image, without "Image:" or "File:"
image1 = Seattle, WA - Downtown - OpenStreetMap.png
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
top = 47.6188
- Latitude at top edge of map, in decimal degrees
bottom = 47.5909
- Latitude at bottom edge of map, in decimal degrees
left = -122.3609
- Longitude at left edge of map, in decimal degrees
right = -122.3141
- Longitude at right edge of map, in decimal degrees
Alternative map
The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
Precision
Longitude: from West to East this map definition covers 0.0468 degrees.
- At an image width of 200 pixels, that is 0.0002 degrees per pixel.
- At an image width of 1000 pixels, that is 0 degrees per pixel.
Latitude: from North to South this map definition covers 0.0279 degrees.
- At an image height of 200 pixels, that is 0.0001 degrees per pixel.
- At an image height of 1000 pixels, that is 0 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | Seattle WA Downtown | width = 250 | lat_deg = 47.5975 | lon_deg = -122.320822 | label = [[Chinatown-International District, Seattle|International District]] }}
Location map many
{{Location map many | Seattle WA Downtown | width = 250 | caption = Two locations in downtown Seattle | lat1_deg = 47.5975 | lon1_deg = -122.320822 | label1 = [[Chinatown-International District, Seattle|International District]] | lat2_deg = 47.608398 | lon2_deg = -122.332935 | label2 = [[IBM Building (Seattle)|IBM Building]] | mark2 = Maki-city-15.svg | mark2size= 16 | position2= bottom }}
Location map+
{{Location map+ | USeattle WA Downtown | width = 200 | caption = Three locations in downtown Seattle | places = {{Location map~ | Seattle WA Downtown | lat_deg = 47.5975 | lon_deg = -122.320822 | label = [[Chinatown-International District, Seattle|International District]] | position= top }} {{Location map~ | Seattle WA Downtown | lat_deg = 47.608398 | lon_deg = -122.332935 | label = [[IBM Building (Seattle)|IBM Building]] | mark = Maki-city-15.svg | marksize= 16 | position= }} {{Location map~ | Seattle WA Downtown | lat_deg = 47.5952 | lon_deg = -122.3316 | label = [[CenturyLink Field]] | mark = Stadium - The Noun Project.svg | marksize= 16 | position= left }} }}
See also
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
Creating new map definitions