模块:Location map/data/USA Illinois
跳转到导航
跳转到搜索
File:Map of Illinois NA.pngMap of Illinois (click on map to see larger image)
File:Test Template Info-Icon - Version (2).svg 模块文档[查看] [编辑] [历史] [清除缓存]
| 名称 | 伊利诺伊州 | |||
|---|---|---|---|---|
| 边界经纬 | ||||
| 42.7 | ||||
| -92.2 | ←↕→ | -86.4 | ||
| 36.8 | ||||
| 地图中心 | Lua错误:callParserFunction: function "#coordinates" was not found。 | |||
| 图像 | USA Illinois location map.svg
| |||
| File:USA Illinois location map.svg | ||||
Module:Location map/data/USA Illinois是用于在伊利诺伊州的等距长方投影地图上叠加标记和标签的位置图定义。标记是按默认的地图或类似地图图像上的纬度和经度坐标放置。
使用方法
以下模板均使用名为“USA Illinois”的参数:
{{Location map | USA Illinois | ...}}{{Location map many | USA Illinois | ...}}{{Location map+ | USA Illinois | ...}}{{Location map~ | USA Illinois | ...}}
地图定义
name = 伊利诺伊州- 用于地图描述的默认值
image = USA Illinois location map.svg- 默认地图图像,无"Image:"和"File:"前缀
bottom = 36.8- 地图最南端的纬度,以十进制度数显示。
left = -92.2- 地图最西端的经度,以十进制度数显示。
right = -86.4- 地图最东端的经度,以十进制度数显示。
精度
经度:这张地图从西到东为5.8度。
- 如果图像的宽度为200像素,则为每像素0.029度。
- 如果图像的宽度为1000像素,则为每像素0.0058度。
纬度:这张地图从北到南为5.9度。
- 如果图像的垂直长度为200像素,则为每像素0.0295度。
- 如果图像的垂直长度为1000像素,则为每像素0.0059度。
位置图模板使用范例
Location map
Springfield在伊利诺伊州的位置
Springfield
Springfield (伊利诺伊州)
{{Location map | USA Illinois
| width = 200
| lat_deg = 39 | lat_min = 46 | lat_sec = 59 | lat_dir = N
| lon_deg = 089 | lon_min = 39 | lon_sec = 00 | lon_dir = W
| label = Springfield
}}
Location map many
Locations in Illinois
{{Location map many | USA Illinois
| width = 200
| caption = Locations in Illinois
| lat1 = 42.496 | long1 = -89.990 | label1 = Warren
| lat2 = 37.013 | long2 = -89.180 | label2 = Cairo
| lat3 = 40.148 | long3 = -91.504 | label3 = Meyer
| lat4 = 41.614 | long4 = -87.546 | label4 = Calumet City
}}
Location map+
Locations in Illinois
{{Location map+ | USA Illinois
| width = 200
| caption = Locations in Illinois
| places =
{{Location map~ | USA Illinois
| lat = 42.496 | long = -89.990 | label = Warren
}}
{{Location map~ | USA Illinois
| lat = 37.013 | long = -89.180 | label = Cairo
}}
{{Location map~ | USA Illinois
| lat = 40.148 | long = -91.504 | label = Meyer
}}
{{Location map~ | USA Illinois
| lat = 41.614 | long = -87.546 | label = Calumet City
}}
}}
参见
位置图模板
- Template:Location map ——使用纬度和经度显示单个标记和标签。
- Template:Location map many ——显示高达9个标记和标签。
- Template:Location map+ ——显示无限数量的标记和标签。
创建新的地图模块