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

From imedwiki
Jump to navigation Jump to search


Location map of Bayview-Hunters Point
name Bayview-Hunters Point
border
coordinates
37.7688
-122.4362 ←↕→ -122.3557
37.6893
map center 37°43′45″N 122°23′45″W / 37.72905°N 122.39595°W / 37.72905; -122.39595
image Location map San Francisco Bayview-Hunters Point.png
Location map San Francisco Bayview-Hunters Point.png
image1 HP Curfew Area -vI.svg
HP Curfew Area -vI.svg
Map of Bayview and Hunters Point

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":

  • {{Location map|United States San Francisco Bayview-Hunters Point |...}}
  • {{Location map many|United States San Francisco Bayview-Hunters Point |...}}
  • {{Location map+|United States San Francisco Bayview-Hunters Point |...}}
  • {{Location map~|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)

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

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

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

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
	}