Module:Location map/data/Canada Vancouver City
Jump to navigation
Jump to search
name | Vancouver City | |||
---|---|---|---|---|
border coordinates | ||||
49.37 | ||||
-123.284 | ←↕→ | -122.85 | ||
49.179 | ||||
map center | 49°16′28″N 123°04′01″W / 49.2745°N 123.067°W | |||
image | Location map Canada Vancouver.png
| |||
Module:Location map/data/Canada Vancouver City is a location map definition used to overlay markers and labels on an equirectangular projection map of Vancouver City. 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 "Canada Vancouver City":
{{Location map|Canada Vancouver City |...}}
{{Location map many|Canada Vancouver City |...}}
{{Location map+|Canada Vancouver City |...}}
{{Location map~|Canada Vancouver City |...}}
Map definition
name = Vancouver City
- Name used in the default map caption
image = Location map Canada Vancouver.png
- The default map image, without "Image:" or "File:"
top = 49.37
- Latitude at top edge of map, in decimal degrees
bottom = 49.179
- Latitude at bottom edge of map, in decimal degrees
left = -123.284
- Longitude at left edge of map, in decimal degrees
right = -122.85
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.434 degrees.
- At an image width of 200 pixels, that is 0.0022 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0004 degrees per pixel.
Latitude: from North to South this map definition covers 0.191 degrees.
- At an image height of 200 pixels, that is 0.001 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0002 degrees per pixel.
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
return {
name = 'Vancouver City',
top = 49.37,
bottom = 49.179,
left = -123.284,
right = -122.85,
image = 'Location map Canada Vancouver.png'
}