Module:Location map/data/United States Spokane

< Module:Location map
Revision as of 04:21, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

File:Location Map United States Spokane.png
Map of Spokane, concentrating on the riverfront area and downtown

Module:Location map/data/United States Spokane is a location map definition used to overlay markers and labels on an equirectangular projection map of Spokane concentrating on the riverfront area and downtown. 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 "United States Spokane":

Map definition

  • name = Spokane riverfront area
    Name used in the default map caption
  • bottom = 47.6386
    Latitude at bottom edge of map, in decimal degrees
  • left = -117.4398
    Longitude at left edge of map, in decimal degrees
  • right = -117.39
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | United States Spokane
 | width   = 250
 | lat_deg = 47.652
 | lon_deg = -117.42
 | label   = [[Lewis and Clark High School]]
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | United States Spokane
 | width    = 250
 | caption  = Two locations in the Spokane riverfront area
 | lat1_deg = 47.652
 | lon1_deg = -117.42
 | label1   = [[Lewis and Clark High School|L&C]]
 | lat2_deg = 47.660672
 | lon2_deg = -117.420275
 | label2   = [[Riverfront Park Carousel|The Looff]]
 | mark2    = Tux Paint circus.svg
 | mark2size= 16
 | position2= bottom

Template:Clear

Location map+

Template:Location map+

{{Location map+ | United States Spokane
| width   = 400
| caption = Many locations in the Spokane riverfront area
| places  =
  {{Location map~ | United States Spokane
   | lat_deg = 47.652
   | lon_deg = -117.42
   | label   = [[Lewis and Clark High School|L&C]]
   | position= 
  }}
  {{Location map~ | United States Spokane
   | lat_deg = 47.660672
   | lon_deg = -117.420275
   | label   = [[Riverfront Park Carousel|The Looff]]
   | mark    = Tux Paint circus.svg
   | marksize= 16
   | position= bottom
  }}
  {{Location map~ | United States Spokane
   | lat_deg = 47.6675
   | lon_deg = -117.4025
   | label   = [[Gonzaga University]]
  }}
  {{Location map~ | United States Spokane
   | lat_deg = 47.649136
   | lon_deg = -117.412614
   | label   = [[Providence Sacred Heart Medical Center and Children's Hospital|Sacred Heart]]
   | mark    = Red Cross icon.svg
   | marksize= 16
   | position= 
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Spokane riverfront area',
	image = 'Location Map United States Spokane.png',
	top = 47.6721,
	bottom = 47.6386,
	left = -117.4398,
	right = -117.3900
	}