Jump to content

Module:Location map/data/USA California Northern

From Simple English Wikipedia, the free encyclopedia
Location map of Northern California
name Northern California
border
coordinates
41.998403
-124.410508 ←↕→ -114.0506
35.789821
map center 38°53′39″N 119°13′50″W / 38.894112°N 119.230554°W / 38.894112; -119.230554
image USA California Northern location map.svg
image1 Relief_map_of_Northern_California.png


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

Map definition

  • name = Northern California
    Name used in the default map caption
  • bottom = 35.789821
    Latitude at bottom edge of map, in decimal degrees
  • left = -124.410508
    Longitude at left edge of map, in decimal degrees
  • right = -114.0506
    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 10.3599 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image) and relief (image1)

AT&T Park is located in Northern California
AT&T Park
AT&T Park
AT&T Park (Northern California)
AT&T Park is located in Northern California
AT&T Park
AT&T Park
AT&T Park (Northern California)
{{Location map | USA California Northern
| width   = 250
| label   = AT&T Park
| lat_deg = 37.778611
| lon_deg = -122.389167
}}

{{Location map | USA California Northern
| width   = 250
| relief   = yes
| label   = AT&T Park
| lat_deg = 37.778611
| lon_deg = -122.389167
}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Northern California',
	top = 41.998403,
	bottom = 35.789821,
	left = -124.410508,
	right = -114.0506,
	image = 'USA California Northern location map.svg',
	image1 = 'Relief_map_of_Northern_California.png'
}