模块:Location map/data/USA New York
跳转到导航
跳转到搜索
File:Map of New York NA.pngMap of New York (click on map to see larger image)
| 名称 | 纽约州 | |||
|---|---|---|---|---|
| 边界经纬 | ||||
| 45.3 | ||||
| -80 | ←↕→ | -71.7 | ||
| 40.3 | ||||
| 地图中心 | Lua错误:callParserFunction: function "#coordinates" was not found。 | |||
| 图像 | USA New York location map.svg
| |||
| File: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
Albany在纽约州的位置
Albany
Albany (纽约州)
{{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+ ——显示无限数量的标记和标签。