Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Map definition  





3 Alternative map  





4 Examples using location map templates  



4.1  Location map, using default map (image)  





4.2  Location map many, using relief map (image1)  





4.3  Location map+, using AlternativeMap  





4.4  Location map, one location on three maps  





4.5  Location map, three maps and three captions  







5 See also  



5.1  Location map templates  





5.2  Creating new map definitions  
















Module:Location map/data/USA






Afrikaans
Аԥсшәа
العربية
Asturianu
تۆرکجه
Basa Bali

 / Bân-lâm-gú

Bikol Central
Bosanski
Cebuano
الدارجة
ދިވެހިބަސް
Euskara
فارسی
Føroyskt
Frysk
  / Gõychi Konknni
/Hak-kâ-ngî

Հայերեն
ि
Hrvatski
Ilokano
Bahasa Indonesia
Íslenska


Kurdî
Latviešu
Magyar
Madhurâ
Македонски

Bahasa Melayu
 / Mìng-dĕ̤ng-nḡ
Монгол



Norsk bokmål

پښتو
Română

Scots
Simple English
Slovenščina
Soomaaliga
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Tagalog
ி
 

Türkçe
Türkmençe
Українська
اردو
Tiếng Vit
Winaray

 

Edit links
 









Module
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Meta-Wiki
 
















Appearance
   

 





Permanently protected module

From Wikipedia, the free encyclopedia
 

< Module:Location map

Location map of the United States
name the United States
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


Module:Location map/data/USA is a location map definition used to overlay markers and labels on an equidistant conic projection map of the United States. 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 "USA":

Map definition

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relieforAlternativeMap parameters. Examples may be found below or in the following:

Examples using location map templates

Location map, using default map (image)

Washington, D.C. is located in the United States
Washington, D.C.

Washington, D.C.

Washington, D.C. (the United States)

{{Location map | USA
| width   = 250
| label   = Washington, D.C.
| lat_deg = 38.89
| lon_deg = -77.04
}}

Location map many, using relief map (image1)

Location map/data/USA is located in the United States
Washington, D.C.

Washington, D.C.

Seattle

Seattle

Two locations in the United States
{{Location map many | USA
| relief   = yes
| width    = 250
| caption  = Two locations in the United States
| label1   = Washington, D.C.
| lat1_deg = 38.89
| lon1_deg = -77.04
| label2   = Seattle
| lat2_deg = 47.61
| lon2_deg = -122.33
}}

Location map+, using AlternativeMap

Location map/data/USA is located in the United States
Washington, D.C.

Washington, D.C.

Seattle

Seattle

Two locations in the United States
{{Location map+ | USA
| AlternativeMap = Usa edcp relief location map.png
| caption = Two locations in the United States
| width   = 250
| places  =
  {{Location map~ | USA
  | label   = Washington, D.C.
  | lat_deg = 38.89
  | lon_deg = -77.04
  }}
  {{Location map~ | USA
  | label   = Seattle
  | lat_deg = 47.61
  | lon_deg = -122.33
  }}
}}

Location map, one location on three maps

Nashville is located in the United States
Nashville

Nashville

Nashville (the United States)

Nashville is located in Tennessee
Nashville

Nashville

Nashville (Tennessee)

Nashville is located in North America
Nashville

Nashville

Nashville (North America)

{{Location map | USA#USA Tennessee#North America
| relief  = yes
| width   = 250
| lat_deg = 36.167
| lon_deg = -86.783
| label   = Nashville
}}

Location map, three maps and three captions

Nashville is located in the United States
Nashville

Nashville

Location in the United States
Nashville is located in Tennessee
Nashville

Nashville

Location in Tennessee
Nashville is located in North America
Nashville

Nashville

Location in North America
{{Location map | USA#USA Tennessee#North America
| relief  = yes
| width   = 250
| lat_deg = 36.167
| lon_deg = -86.783
| label   = Nashville
| caption = Location in the [[United States]]##Location in [[Tennessee]]##Location in [[North America]]
}}

See also

Location map templates

Creating new map definitions

return {
 name = 'the United States',
 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'
}

Retrieved from "https://en.wikipedia.org/w/index.php?title=Module:Location_map/data/USA&oldid=882683788"

Category: 
United States location map modules
Hidden category: 
Wikipedia template-protected modules
 



This page was last edited on 10 February 2019, at 18:47 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki