Module:Location map/data/United States San Francisco Bayview-Hunters Point
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
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 | |||
image | Location map San Francisco Bayview-Hunters Point.png
| |||
image1 | HP Curfew Area -vI.svg
| |||
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
image = Location map San Francisco Bayview-Hunters Point.png
- The default map image, without "Image:" or "File:"
image1 = HP Curfew Area -vI.svg
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
top = 37.7688
- Latitude at top edge of map, in decimal degrees
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:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
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
{{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
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
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
}