Module:Location map/data/United States San Francisco Bayview-Hunters Point

MyWikiBiz, Author Your Legacy — Sunday November 24, 2024
< Module:Location map
Revision as of 04:20, 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

Template:Module rating

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

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

Map definition

  • name = Bayview-Hunters Point
    Name used in the default map caption
  • bottom = 37.6893
    Latitude at bottom edge of map, in decimal degrees
  • left = -122.4362
    Longitude at left edge of map, in decimal degrees
  • right = -122.3557
    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 0.0805 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | United States San Francisco Bayview-Hunters Point
 | width   = 250
 | lat_deg = 37.73515
 | lon_deg = -122.390131
 | label   = [[Bayview Opera House]]
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | United States San Francisco Bayview-Hunters Point
 | width    = 250
 | caption  = Two locations in Bayview-Hunters Point
 | lat1_deg = 37.73515
 | lon1_deg = -122.390131
 | label1   = [[Bayview Opera House]]
 | lat2_deg = 37.725606
 | lon2_deg = -122.368942
 | label2   = [[San Francisco Naval Shipyard]]
 | mark2    = Anchor pictogram.svg
 | mark2size= 16
 | position2= bottom
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | United States San Francisco Bayview-Hunters Point
| width   = 200
| caption = Four locations in Bayview-Hunters Point
| places  =
  {{Location map~ | United States San Francisco Bayview-Hunters Point
   | lat_deg = 37.73515
   | lon_deg = -122.390131
   | label   = [[Bayview Opera House]]
  }}
  {{Location map~ | United States San Francisco Bayview-Hunters Point
   | lat_deg = 37.725606
   | lon_deg = -122.368942
   | label   = [[San Francisco Naval Shipyard|Shipyard]]
   | mark    = Anchor pictogram.svg
   | marksize= 16
   | position= bottom
  }}
  {{Location map~ | United States San Francisco Bayview-Hunters Point
   | lat_deg = 37.713611
   | lon_deg = -122.386111
   | label   = [[Candlestick Park]]
   | mark    = Stadium - The Noun Project.svg
   | marksize= 16
   | position= left
  }}
  {{Location map~ | United States San Francisco Bayview-Hunters Point
   | lat_deg = 37.7180842
   | lon_deg = -122.4190721
   | label   = [[John McLaren Park]]
   | position= top
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Bayview-Hunters Point',
	image = 'Location map San Francisco Bayview-Hunters Point.png',
	image1 = 'HP Curfew Area -vI.svg',
	top = 37.7688,
	bottom = 37.6893,
	left = -122.4362,
	right = -122.3557
	}