Module:Location map/data/Australia Victoria

MyWikiBiz, Author Your Legacy — Thursday March 28, 2024
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

File:Victoria (routes).png
Map of Victoria, Australia

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":

Map definition

  • name = Victoria
    Name used in the default map caption
  • 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:

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)

Template:Location map

{{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
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{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
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{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
  }}
}}

Template:Clear

See also

Location map templates

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'
}