Module:Location map/data/USA California Northern

MyWikiBiz, Author Your Legacy — Thursday November 21, 2024
< Module:Location map
Revision as of 03:29, 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

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


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)

Template:Location map Template:Location map

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

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Northern California',
	top = 41.997577,
	bottom = 35.729208,
	left = -124.413569,
	right = -114.045566,
	image = 'USA California Northern location map.svg',
	image1 = 'Relief_map_of_Northern_California.png'
}