模組:Location map/data/USA New York
外观
| 名稱 | 纽约州 | |||
|---|---|---|---|---|
| 邊界經緯 | ||||
| 45.3 | ||||
| -80 | ←↕→ | -71.7 | ||
| 40.3 | ||||
| 地圖中心 | 42°48′N 75°51′W / 42.8°N 75.85°W | |||
| 圖像 | USA New York location map.svg
| |||

Module:Location map/data/USA New York是用於在the U.S. state of New York的等距長方投影地圖上疊加標記和標籤的位置圖定義。標記是按默認的地圖或類似地圖圖像上的緯度和經度坐標放置。
使用方法
以下模板均使用名為“USA New York”的參數:
{{Location map | USA New York | ...}}{{Location map many | USA New York | ...}}{{Location map+ | USA New York | ...}}{{Location map~ | USA New York | ...}}
地圖定義
name = 纽约州- 用於地圖描述的默認值
image = USA New York location map.svg- 默認地圖圖像,無"Image:"和"File:"前綴
bottom = 40.3- 地圖最南端的緯度,以十進制度數顯示。
left = -80- 地圖最西端的經度,以十進制度數顯示。
right = -71.7- 地圖最東端的經度,以十進制度數顯示。
精度
經度:這張地圖從西到東為8.3度。
- 如果圖像的寬度為200像素,則為每像素0.0415度。
- 如果圖像的寬度為1000像素,則為每像素0.0083度。
緯度:這張地圖從北到南為5度。
- 如果圖像的垂直長度為200像素,則為每像素0.025度。
- 如果圖像的垂直長度為1000像素,則為每像素0.005度。
位置圖模板使用範例
Location map
{{Location map | USA New York
| width = 250
| lat_deg = 42 | lat_min = 39 | lat_sec = 09 | lat_dir = N
| lon_deg = 73 | lon_min = 45 | lon_sec = 26 | lon_dir = W
| label = Albany
}}
Location map many
Locations in New York
{{Location map many | USA New York
| width = 250
| caption = Locations in New York
| lat1 = 44.930 | long1 = -74.893 | label1 = Massena
| lat2 = 40.517 | long2 = -74.250 | label2 = Tottenville
| lat3 = 42.119 | long3 = -79.733 | label3 = Findley Lake
| lat4 = 41.038 | long4 = -71.951 | label4 = Montauk
}}
Location map+
Locations in New York
{{Location map+ | USA New York
| width = 250
| caption = Locations in New York
| places =
{{Location map~ | USA New York
| lat = 44.930 | long = -74.893 | label = Massena
}}
{{Location map~ | USA New York
| lat = 40.517 | long = -74.250 | label = Tottenville
}}
{{Location map~ | USA New York
| lat = 42.119 | long = -79.733 | label = Findley Lake
}}
{{Location map~ | USA New York
| lat = 41.038 | long = -71.951 | label = Montauk
}}
}}
參見
- Module:Location map/data/USA
- Module:Location map/data/USA New York inset includes an inset image showing the location of New York within the United States
位置圖模板
- Template:Location map ——使用緯度和經度顯示單個標記和標籤。
- Template:Location map many ——顯示高達9個標記和標籤。
- Template:Location map+ ——顯示無限數量的標記和標籤。
創建新的地圖模塊