Difference between revisions of "Module:Location map/data/North Pacific"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
 
blackwiki>Frietjes
(simple map)
Line 1: Line 1:
 
return {
 
return {
 
name = 'North Pacific ',
 
name = 'North Pacific ',
y = '(100*($1 - 77))/(-5 - 77)',
+
left = 102,
x = '100*(($2 + ($2 < 0)*360) - 102)/(-123 - 102+360)',
+
right = -123,
 +
top = 77,
 +
bottom = -5,
 
image = 'North Pacific location map.svg'
 
image = 'North Pacific location map.svg'
 
}
 
}

Revision as of 13:03, 22 March 2018


Location map of North Pacific
name North Pacific
border
coordinates
77
102 ←↕→ -123
-5
map center Lua error: callParserFunction: function "#coordinates" was not found.
image North Pacific location map.svg
400x400px


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

Map definition

  • name = North Pacific
    Name used in the default map caption
  • bottom = -5
    Latitude at bottom edge of map, in decimal degrees
  • left = 102
    Longitude at left edge of map, in decimal degrees
  • right = -123
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

US Air Force Installations in the Pacific CommandLua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.
US Air Force Installations in the Pacific Command

See also

Location map templates

Creating new map definitions


return {
	name = 'North Pacific ',
	left = 102,
	right = -123,
	top = 77,
	bottom = -5,
	image = 'North Pacific location map.svg'
}