Jump to content

Module:Location map/data/Australia New South Wales/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 13:44, 12 January 2014 (create documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Map of New South Wales

Template:Location map Australia New South Wales is a location map definition used to overlay markers and labels on an equirectangular projection map of New South Wales 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 New South Wales":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Australia New South Wales) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/Australia New South Wales) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Precision

Longitude: from West to East this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image width of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image width of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Latitude: from North to South this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image height of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image height of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Examples using location map templates

Location map, using default map (image)

Sydney is located in New South Wales
Sydney
Sydney
Sydney (New South Wales)
{{Location map | Australia New South Wales
| width = 200
| label = Sydney
| lat_deg=33  | lat_min=51 | lat_sec=36 | lat_dir=S
| lon_deg=151 | lon_min=12 | lon_sec=40 | lon_dir=E
}}

Location map many, using relief map (image1)

Location map/data/Australia New South Wales/doc is located in New South Wales
Boggabilla
Boggabilla
Albury
Albury
Broken Hill
Broken Hill
Newcastle
Newcastle
Locations in New South Wales
{{Location map many | Australia New South Wales
| relief   = yes
| width    = 200
| caption  = Locations in New South Wales
| lat1 = -28.60 | long1 = 150.35 | label1 = Boggabilla
| lat2 = -36.08 | long2 = 146.92 | label2 = Albury
| lat3 = -31.96 | long3 = 141.47 | label3 = Broken Hill
| lat4 = -32.92 | long4 = 151.75 | label4 = Newcastle
}}

Location map+, using AlternativeMap

Location map/data/Australia New South Wales/doc is located in New South Wales
Boggabilla
Boggabilla
Albury
Albury
Broken Hill
Broken Hill
Newcastle
Newcastle
Locations in New South Wales
{{Location map+ | Australia New South Wales
| AlternativeMap = Australia New South Wales location map.svg
| width   = 200
| caption = Locations in New South Wales
| places  =
  {{Location map~ | Australia New South Wales
  | lat = -28.60 | long = 150.35 | label = Boggabilla
  }}
  {{Location map~ | Australia New South Wales
  | lat = -36.08 | long = 146.92 | label = Albury
  }}
  {{Location map~ | Australia New South Wales
  | lat = -31.96 | long = 141.47 | label = Broken Hill
  }}
  {{Location map~ | Australia New South Wales
  | lat = -32.92 | long = 151.75 | label = Newcastle
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List