Jump to content

Module:Location map/data/USA California Northern/doc

From Wikipedia, the free encyclopedia
Location map of Northern California
name Northern California
border
coordinates
41.997577
-124.413569 ←↕→ -114.045566
35.729208
map center 38°51′48″N 119°13′46″W / 38.8633925°N 119.2295675°W / 38.8633925; -119.2295675
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.729208
    Latitude at bottom edge of map, in decimal degrees
  • left = -124.413569
    Longitude at left edge of map, in decimal degrees
  • right = -114.045566
    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.368 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.2684 degrees.

  • At an image height of 200 pixels, that is 0.0313 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0063 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