Module:Wp/kjp/Location map/data/USA
အ်ုမိင် | 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 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":
{{Wp/kjp/Location map | Location map | ...}}
{{Wp/kjp/Location map many | Location map | ...}}
{{Wp/kjp/Location map+ | Location map | ...}}
{{Wp/kjp/Location map~ | 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 ().
- The default mark image to display with this map. This can be overridden by the
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 examplemarksize=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.
, notmarksize=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 themarksize
parameter in Template:Wp/kjp/Location map, which would otherwise default to 8.
- The default mark size (in [[||Wp/kjp/Location map/data/pixel|pixel]]s) for the mark image displayed with this map (should not include
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:
- Template:Wp/kjp/Location map#Relief parameter
- Template:Wp/kjp/Location map+/relief
- Template:Wp/kjp/Location map#AlternativeMap parameter
- Template:Wp/kjp/Location map+/AlternativeMap
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
- Template:Wp/kjp/Location map, to display one mark and label using latitude and longitude
- Template:Wp/kjp/Location map many, to display up to nine marks and labels
- Template:Wp/kjp/Location map+, to display an unlimited number of marks and labels
- Creating new map definitions
- Template:Wp/kjp/Location map/Creating a new map definition
- Template:Wp/kjp/Location map/doc/Converting map definition templates to modules
- Infobox templates incorporating (passing values to) the Location map template
- Template:Wp/kjp/Infobox academic division
- Template:Wp/kjp/Infobox aerial lift line
- Template:Wp/kjp/Infobox airport — alternative map support: relief (via pushpin_relief) and AlternativeMap (via pushpin_image)
- Template:Wp/kjp/Infobox ancient site — alternative map support: relief
- Template:Wp/kjp/Infobox aqueduct
- Template:Wp/kjp/Infobox artwork
- Template:Wp/kjp/Infobox Australia state or territory
- Template:Wp/kjp/Infobox Australian road
- Template:Wp/kjp/Infobox beach
- Template:Wp/kjp/Infobox body of water
- Template:Wp/kjp/Infobox bridge
- Template:Wp/kjp/Infobox building — alternative map support: relief
- Template:Wp/kjp/Infobox business park
- Template:Wp/kjp/Infobox casino
- Template:Wp/kjp/Infobox castrum — alternative map support: relief (via map_relief)
- Template:Wp/kjp/Infobox cave — alternative map support: relief
- Template:Wp/kjp/Infobox cemetery
- Template:Wp/kjp/Infobox civil conflict
- Template:Wp/kjp/Infobox climbing area
- Template:Wp/kjp/Infobox climbing route — alternative map support: relief
- Template:Wp/kjp/Infobox church — alternative map support: relief
- Template:Wp/kjp/Infobox concentration camp
- Template:Wp/kjp/Infobox convention center
- Template:Wp/kjp/Infobox cycling championship
- Template:Wp/kjp/Infobox dam — alternative map support: relief
- Template:Wp/kjp/Infobox desalination plant
- Template:Wp/kjp/Infobox disputed islands
- Template:Wp/kjp/Infobox earthquakes in date
- Template:Wp/kjp/Infobox Egyptian tomb
- Template:Wp/kjp/Infobox factory
- Template:Wp/kjp/Infobox fault
- Template:Wp/kjp/Infobox forest — alternative map support: relief
- Template:Wp/kjp/Infobox former Arab villages in Palestine
- Template:Wp/kjp/Infobox glacier — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Wp/kjp/Infobox golf facility — alternative map support: relief
- Template:Wp/kjp/Infobox Hindu temple
- Template:Wp/kjp/Infobox historic site — alternative map support: relief (via map_relief)
- Template:Wp/kjp/Infobox holiday camp
- Template:Wp/kjp/Infobox holocaust event
- Template:Wp/kjp/Infobox hospital — alternative map support: relief
- Template:Wp/kjp/Infobox hut — alternative map support: relief
- Template:Wp/kjp/Infobox Icelandic municipality
- Template:Wp/kjp/Infobox islands — alternative map support: relief
- Template:Wp/kjp/Infobox landform
- Template:Wp/kjp/Infobox lighthouse — alternative map support: relief
- Template:Wp/kjp/Infobox Manchester Metrolink station
- Template:Wp/kjp/Infobox military conflict — alternative map support: relief (via map_relief)
- Template:Wp/kjp/Infobox military installation — alternative map support: relief (via map_relief)
- Template:Wp/kjp/Infobox military operation
- Template:Wp/kjp/Infobox mill building
- Template:Wp/kjp/Infobox mine
- Template:Wp/kjp/Infobox mining
- Template:Wp/kjp/Infobox monastery
- Template:Wp/kjp/Infobox monument
- Template:Wp/kjp/Infobox motorway services
- Template:Wp/kjp/Infobox mountain — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Wp/kjp/Infobox mountain pass — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Wp/kjp/Infobox museum — alternative map support: relief (via map_relief)
- Template:Wp/kjp/Infobox New York City Subway station
- Template:Wp/kjp/Infobox New Zealand suburbs
- Template:Wp/kjp/Infobox observatory
- Template:Wp/kjp/Infobox oil field — alternative map support: relief
- Template:Wp/kjp/Infobox oil refinery — alternative map support: relief
- Template:Wp/kjp/Infobox park — alternative map support: relief
- Template:Wp/kjp/Infobox port
- Template:Wp/kjp/Infobox power station — alternative map support: relief
- Template:Wp/kjp/Infobox prison
- Template:Wp/kjp/Infobox protected area — alternative map support: relief
- Template:Wp/kjp/Infobox pyramid
- Template:Wp/kjp/Infobox rail accident
- Template:Wp/kjp/Infobox reactor
- Template:Wp/kjp/Infobox religious building — alternative map support: relief
- Template:Wp/kjp/Infobox residential college
- Template:Wp/kjp/Infobox restaurant
- Template:Wp/kjp/Infobox river
- Template:Wp/kjp/Infobox Russian inhabited locality
- Template:Wp/kjp/Infobox school
- Template:Wp/kjp/Infobox Scottish island
- Template:Wp/kjp/Infobox sedimentary basin
- Template:Wp/kjp/Infobox settlement — alternative map support: relief (via pushpin_relief) and AlternativeMap (via pushpin_image)
- Template:Wp/kjp/Infobox ski area
- Template:Wp/kjp/Infobox South African town
- Template:Wp/kjp/Infobox Spanish missions in the Americas
- Template:Wp/kjp/Infobox sports rivalry
- Template:Wp/kjp/Infobox spring — alternative map support: relief
- Template:Wp/kjp/Infobox station
- Template:Wp/kjp/Infobox street
- Template:Wp/kjp/Infobox superfund
- Template:Wp/kjp/Infobox terrestrial impact site
- Template:Wp/kjp/Infobox transmitter
- Template:Wp/kjp/Infobox tunnel
- Template:Wp/kjp/Infobox valley — alternative map support: relief
- Template:Wp/kjp/Infobox waterfall — alternative map support: relief
- Template:Wp/kjp/Infobox waterlock
- Template:Wp/kjp/Infobox UNESCO World Heritage Site — alternative map support: relief
- Template:Wp/kjp/Infobox university
- Template:Wp/kjp/Infobox urban feature
- Template:Wp/kjp/Infobox venue
- Template:Wp/kjp/Infobox wildfire
- Template:Wp/kjp/Infobox WorldScouting
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'
}