Module:Wp/kjp/Location map/data/USA

From Wikimedia Incubator
Jump to navigation Jump to search


the US အိုဝ် ဆ်ုဍုဂ်ဏဲအှ်လင်ဍာ ၯင်းခေါဟ်ၯင်
အ်ုမိင် the US
x 50.0 + 124.03149777329222 * ((1.9694462586094064-($1 * pi / 180)) * sin(0.6010514667026994 * ($2 + 96) * pi / 180))
y 50.0 + 1.6155950752393982 * 124.03149777329222 * ( 0.02613325650382181 - (1.3236744353715044 - (1.9694462586094064 - ($1 * pi / 180)) * cos(0.6010514667026994 * ($2 + 96) * pi / 180)))
ပုံ Usa edcp location map.svg
Usa edcp location map.svg
ပုံ၁ Usa edcp relief location map.png
Usa edcp relief location map.png


Module:Wp/kjp/Location map is a location map definition used to overlay markers and labels on an [[||Wp/kjp/Location map/data/equirectangular projection|equirectangular projection]] map of the United States. The markers are placed by [[||Wp/kjp/Location map/data/latitude|latitude]] and [[||Wp/kjp/Location map/data/longitude|longitude]] coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "Location map":

Map definition

  • name = Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.
    Name used in the default map caption
  • image = [[:File:Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.|Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.]]
    The default map image, without "Image:" or "File:"
  • image1 = [[:File:Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.|Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.]]
    An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
  • image2 = [[:File:Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.|Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.]]
  • image3 = [[:File:Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.|Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.]]
  • image4 = [[:File:Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.|Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.]]
    Alternative map images which can be displayed via the AlternativeMap parameter
  • top = Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.
    [[||Wp/kjp/Location map/data/Latitude|Latitude]] at top edge of map, in [[||Wp/kjp/Location map/data/decimal degrees|decimal degrees]]
  • bottom = Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.
    Latitude at bottom edge of map, in decimal degrees
  • left = Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.
    [[||Wp/kjp/Location map/data/Longitude|Longitude]] at left edge of map, in decimal degrees
  • right = Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.
    Longitude at right edge of map, in decimal degrees
  • x = Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.
    An expression to calculate a location on the map via its [[||Wp/kjp/Location map/data/longitude|longitude]]; evaluates as 0 along the left edge and 100 along the right edge
  • y = Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.
    An expression to calculate a location on the map via its [[||Wp/mnw/Location map/data/latitude|latitude]]; evaluates as 0 along the top edge and 100 along the bottom edge
  • mark = [[:File:Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.|Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.]] ([[File:Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.|Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.|8px]])
    The default mark image to display with this map. This can be overridden by the mark parameter in Template:Wp/kjp/Location map, which would otherwise default to Red pog.svg (Red pog.svg).
  • marksize = Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.
    The default mark size (in [[||Wp/kjp/Location map/data/pixel|pixel]]s) for the mark image displayed with this map (should not include px, for example marksize=Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists., not marksize=Lua error in Module:Wp/kjp/Location_map at line 59: Unable to find the specified location map definition. Neither "Module:Wp/kjp/Location map/data/Location map" nor "Template:Wp/kjp/Location map Location map" exists.px). This can be overridden by the marksize parameter in Template:Wp/kjp/Location map, which would otherwise default to 8.

Alternative map

The {{Wp/kjp/Location map}}, {{Wp/kjp/Location map many}}, and {{Wp/kjp/Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. The maps displayed as image2 / image3 / image4 can be used with the AlternativeMap parameter. Examples may be found below or in the following:

Precision

[[||Wp/kjp/Location map/data/Longitude|Longitude]]: from West to East this map definition covers Expression error: Unexpected < operator. degrees.

  • At an image width of 200 [[||Wp/kjp/Location map/data/pixel|pixel]]s, that is Expression error: Unexpected < operator. degrees per pixel.
  • At an image width of 1000 pixels, that is Expression error: Unexpected < operator. degrees per pixel.

[[||Wp/kjp/Location map/data/Latitude|Latitude]]: from North to South this map definition covers Expression error: Unexpected < operator. degrees.

  • At an image height of 200 pixels, that is Expression error: Unexpected < operator. degrees per pixel.
  • At an image height of 1000 pixels, that is Expression error: Unexpected < operator. degrees per pixel.

Examples using location map templates

{{{Examples}}}

See also

Location map templates
Creating new map definitions
Infobox templates incorporating (passing values to) the Location map template
List

return {
	name = 'the US',
	x = '50.0 + 124.03149777329222 * ((1.9694462586094064-($1 * pi / 180)) * sin(0.6010514667026994 * ($2 + 96) * pi / 180))',
	y = '50.0 + 1.6155950752393982 * 124.03149777329222 * ( 0.02613325650382181 - (1.3236744353715044 - (1.9694462586094064 - ($1 * pi / 180)) * cos(0.6010514667026994 * ($2 + 96) * pi / 180)))',
	image = 'Usa edcp location map.svg',
	image1 = 'Usa edcp relief location map.png'
}