Module:Location map/data/USA California Oakland

From imedwiki
Jump to navigation Jump to search


Location map of Oakland, California
name Oakland, California
border
coordinates
37.94
-122.421 ←↕→ -122.039
37.654
map center 37°47′49″N 122°13′48″W / 37.797°N 122.23°W / 37.797; -122.23
image Location map Oakland.png
Location map Oakland.png


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

Map definition

  • name = Oakland, California
    Name used in the default map caption
  • bottom = 37.654
    Latitude at bottom edge of map, in decimal degrees
  • left = -122.421
    Longitude at left edge of map, in decimal degrees
  • right = -122.039
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Oakland, California',
	top = 37.94,
	bottom = 37.654,
	left = -122.421,
	right = -122.039,
	image = 'Location map Oakland.png'
}