Module:Location map/data/Japan complete

MyWikiBiz, Author Your Legacy — Saturday November 16, 2024
< Module:Location map
Revision as of 01:48, 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/Japan complete is a location map definition used to overlay markers and labels on an equirectangular projection map of Japan. 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 "Japan complete":

Map definition

  • name = Japan
    Name used in the default map caption
  • bottom = 22.95
    Latitude at bottom edge of map, in decimal degrees
  • left = 121.96
    Longitude at left edge of map, in decimal degrees
  • right = 151.58
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Template:Location map

{{Location map |Japan complete
|label = Fukuoka
|coordinates = {{coord|33|35|N|130|24|E|display=inline}}
}}

Template:Clear

Examples using Infobox settlement

Template:Infobox settlement

{{Infobox settlement
|name               = Fukuoka
|subdivision_type   = Country
|subdivision_name   = Japan
|subdivision_type1  = Region
|subdivision_name1  = Kyūshū
|subdivision_type2  = Prefecture
|subdivision_name2  = Fukuoka
|pushpin_map        = Japan complete
|coordinates        = {{coord|33|35|N|130|24|E|region:JP|display=inline}}
}}

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Japan',
	top = 47.56,
	bottom = 22.95,
	left = 121.96,
	right = 151.58,
	image = 'Japan location map.svg'
}