Module:Location map/data/United States Sacramento

From imedwiki
Jump to navigation Jump to search


Location map of Sacramento, California
name Sacramento, California
border
coordinates
38.6577
-121.5679 ←↕→ -121.377
38.516
map center 38°35′13″N 121°28′21″W / 38.58685°N 121.47245°W / 38.58685; -121.47245
image Location map Sacramento.png
Location map Sacramento.png


Module:Location map/data/United States Sacramento is a location map definition used to overlay markers and labels on an equirectangular projection map of Sacramento, 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 "United States Sacramento":

Map definition

  • name = Sacramento, California
    Name used in the default map caption
  • bottom = 38.516
    Latitude at bottom edge of map, in decimal degrees
  • left = -121.5679
    Longitude at left edge of map, in decimal degrees
  • right = -121.377
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.1909 degrees.

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Sacramento, California',
	top = 38.6577,
	bottom = 38.516,
	left = -121.5679,
	right = -121.377,
	image = 'Location map Sacramento.png'
}