Module:Location map/data/United States Seattle Downtown

< 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)

Template:Module rating

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

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

Map definition

  • name = Downtown Seattle
    Name used in the default map caption
  • bottom = 47.5909
    Latitude at bottom edge of map, in decimal degrees
  • left = -122.3609
    Longitude at left edge of map, in decimal degrees
  • right = -122.3141
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.0468 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.0279 degrees.

  • At an image height of 200 pixels, that is 0.0001 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 Seattle Downtown
 | width   = 250
 | lat_deg = 47.5975
 | lon_deg = -122.320822
 | label   = [[Chinatown-International District, Seattle|International District]]
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | United States Seattle Downtown
 | width    = 250
 | caption  = Two locations in downtown Seattle
 | lat1_deg = 47.5975
 | lon1_deg = -122.320822
 | label1   = [[Chinatown-International District, Seattle|International District]]
 | lat2_deg = 47.608398
 | lon2_deg = -122.332935
 | label2   = [[IBM Building (Seattle)|IBM Building]]
 | mark2    = Maki-city-15.svg
 | mark2size= 16
 | position2= bottom
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | United States Seattle Downtown
| width   = 200
| caption = Three locations in downtown Seattle
| places  =
  {{Location map~ | United States Seattle Downtown
   | lat_deg = 47.5975
   | lon_deg = -122.320822
   | label   = [[Chinatown-International District, Seattle|International District]]
   | position= top
  }}
  {{Location map~ | United States Seattle Downtown
   | lat_deg = 47.608398
   | lon_deg = -122.332935
   | label   = [[IBM Building (Seattle)|IBM Building]]
   | mark    = Maki-city-15.svg
   | marksize= 16
   | position= 
  }}
  {{Location map~ | United States Seattle Downtown
   | lat_deg = 47.5952
   | lon_deg = -122.3316
   | label   = [[CenturyLink Field]]
   | mark    = Stadium - The Noun Project.svg
   | marksize= 16
   | position= left
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Downtown Seattle',
	image = 'Seattle, WA - Downtown - OpenStreetMap.png',
	image1 = '',
	top = 47.6188,
	bottom = 47.5909,
	left = -122.3609,
	right = -122.3141
	}