Module:Location map/data/USA Washington/doc

MyWikiBiz, Author Your Legacy — Friday November 08, 2024
< Module:Location map‎ | data/USA Washington
Revision as of 03:49, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Location map/data/USA Washington

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

File:Map of Washington NA.png
Map of Washington (click on map to see larger image)

Module:Location map/data/USA Washington is a location map definition used to overlay markers and labels on an equirectangular projection map of Washington (state). 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 "USA Washington":

Map definition

  • name = Washington (state)
    Name used in the default map caption
  • bottom = 45.3
    Latitude at bottom edge of map, in decimal degrees
  • left = -125
    Longitude at left edge of map, in decimal degrees
  • right = -116.7
    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:

Precision

Longitude: from West to East this map definition covers 8.3 degrees.

  • At an image width of 200 pixels, that is 0.0415 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0083 degrees per pixel.

Latitude: from North to South this map definition covers 3.9 degrees.

  • At an image height of 200 pixels, that is 0.0195 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0039 degrees per pixel.

Examples using location map templates

Location map

Template:Location map

{{Location map | USA Washington
| width   = 250
| lat_deg =  47 | lat_min = 02 | lat_sec = 33 | lat_dir = N
| lon_deg = 122 | lon_min = 53 | lon_sec = 35 | lon_dir = W
| label   = Olympia
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | USA Washington
| width    = 250
| caption  = Locations in Washington
| lat1 = 48.988 | long1 = -122.744 | label1 = Blaine
| lat2 = 45.591 | long2 = -122.412 | label2 = Camas
| lat3 = 46.313 | long3 = -124.030 | label3 = Ilwaco
| lat4 = 48.181 | long4 = -117.048 | label4 = Newport
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | USA Washington
| width   = 250
| caption = Locations in Washington
| places  =
  {{Location map~ | USA Washington
  | lat = 48.988 | long = -122.744 | label = Blaine
  }}
  {{Location map~ | USA Washington
  | lat = 45.591 | long = -122.412 | label = Camas
  }}
  {{Location map~ | USA Washington
  | lat = 46.313 | long = -124.030 | label = Ilwaco
  }}
  {{Location map~ | USA Washington
  | lat = 48.181 | long = -117.048 | label = Newport
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions