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

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (Frietjes moved page Template:Location map North Pacific to Module:Location map/data/North Pacific/doc: preserve attribution history after merge with module)
blackwiki>Frietjes
Line 1: Line 1:
{{#switch:{{{1}}}
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
| name  = North Pacific
+
{{Module:Location map/data/doc
| y = (100*({{{2}}} - 77))/(-5 - 77)
+
| examples =
| x = 100*(({{{3}}} + ({{{3}}} < 0)*360) - 102)/(-123 - 102+360)
+
| see also =  
| image=  North Pacific location map.svg
+
* [[Module:Location map/data/Pacific Ocean]]
}}<noinclude>
+
 
{{Location map/Info}} 
+
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 +
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Location map templates|North Pacific]]
 
[[Category:Location map templates|North Pacific]]
 
[[Category:Location map templates crossing 180th meridian|North Pacific]]
 
[[Category:Location map templates crossing 180th meridian|North Pacific]]
</noinclude>
+
}}</includeonly>

Revision as of 12:51, 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
North Pacific location map.svg


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.


See also

Location map templates

Creating new map definitions