Module:Location map/data/Australia Victoria
name | Victoria | |||
---|---|---|---|---|
border coordinates | ||||
-33.8 | ||||
140.6 | ←↕→ | 150.3 | ||
-39.3 | ||||
map center | 36°33′S 145°27′E / 36.55°S 145.45°E | |||
image | Australia Victoria location map.svg
| |||
image1 | Australia Victoria relief location map.jpg
| |||
image2 | Australia Victoria location map blank.svg
| |||
image3 | Australia Victoria relief location map blank.png
| |||
image4 | Australia Victoria location map highways.svg
| |||
Module:Location map/data/Australia Victoria is a location map definition used to overlay markers and labels on an equirectangular projection map of Victoria in Australia. 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 "Australia Victoria":
{{Location map|Australia Victoria |...}}
{{Location map many|Australia Victoria |...}}
{{Location map+|Australia Victoria |...}}
{{Location map~|Australia Victoria |...}}
Map definition
name = Victoria
- Name used in the default map caption
image = Australia Victoria location map.svg
- The default map image, without "Image:" or "File:"
image1 = Australia Victoria relief location map.jpg
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
image2 = Australia Victoria location map blank.svg
image3 = Australia Victoria relief location map blank.png
image4 = Australia Victoria location map highways.svg
- Alternative map images which can be displayed via the AlternativeMap parameter
top = -33.8
- Latitude at top edge of map, in decimal degrees
bottom = -39.3
- Latitude at bottom edge of map, in decimal degrees
left = 140.6
- Longitude at left edge of map, in decimal degrees
right = 150.3
- 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. The maps displayed as image2 / image3 / image4 can be used with the AlternativeMap parameter. 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 9.7 degrees.
- At an image width of 200 pixels, that is 0.0485 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0097 degrees per pixel.
Latitude: from North to South this map definition covers 5.5 degrees.
- At an image height of 200 pixels, that is 0.0275 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0055 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | Australia Victoria | width = 200 | label = Melbourne | lat_deg=37 | lat_min=48 | lat_sec=49 | lat_dir=S | lon_deg=144 | lon_min=57 | lon_sec=47 | lon_dir=E }}
Location map many, using relief map (image1)
{{Location map many | Australia Victoria | relief = yes | width = 200 | caption = Locations in Victoria | lat1 = -34.12 | long1 = 141.98 | label1 = Yelta | lat2 = -39.03 | long2 = 146.32 | label2 = Tidal River | lat3 = -36.37 | long3 = 140.98 | label3 = Serviceton | lat4 = -37.55 | long4 = 149.75 | label4 = Mallacoota }}
Location map+, using AlternativeMap
{{Location map+ | Australia Victoria | AlternativeMap = Australia Victoria location map highways.svg | width = 200 | caption = Locations in Victoria | places = {{Location map~ | Australia Victoria | lat = -34.12 | long = 141.98 | label = Yelta }} {{Location map~ | Australia Victoria | lat = -39.03 | long = 146.32 | label = Tidal River }} {{Location map~ | Australia Victoria | lat = -36.37 | long = 140.98 | label = Serviceton }} {{Location map~ | Australia Victoria | lat = -37.55 | long = 149.75 | label = Mallacoota }} }}
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 = 'Victoria',
top = -33.8,
bottom = -39.3,
left = 140.6,
right = 150.3,
image = 'Australia Victoria location map.svg',
image1 = 'Australia Victoria relief location map.jpg',
image2 = 'Australia Victoria location map blank.svg',
image3 = 'Australia Victoria relief location map blank.png',
image4 = 'Australia Victoria location map highways.svg'
}