模块:Location map/data/Pakistan Punjab/doc
跳转到导航
跳转到搜索
这是Module:Location map/data/Pakistan Punjab的文档页面
| 名称 | 旁遮普省 | |||
|---|---|---|---|---|
| 边界经纬 | ||||
| 34.2 | ||||
| 69.12 | ←↕→ | 75.57 | ||
| 27.5 | ||||
| 地图中心 | 30°51′00″N 72°20′42″E / 30.85°N 72.345°E | |||
| 图像 | Locator map Punjab Pakistan.svg
| |||
| File:Locator map Punjab Pakistan.svg | ||||
| 图像1 | Locator map Punjab Pakistan (relief).jpg
| |||
| File:Locator map Punjab Pakistan (relief).jpg | ||||
Module:Location map/data/Pakistan Punjab是用于在旁遮普省的等距长方投影地图上叠加标记和标签的位置图定义。标记是按默认的地图或类似地图图像上的纬度和经度坐标放置。
使用方法
以下模板均使用名为“Pakistan Punjab”的参数:
{{Location map | Pakistan Punjab | ...}}{{Location map many | Pakistan Punjab | ...}}{{Location map+ | Pakistan Punjab | ...}}{{Location map~ | Pakistan Punjab | ...}}
地图定义
name = 旁遮普省- 用于地图描述的默认值
image = Locator map Punjab Pakistan.svg- 默认地图图像,无"Image:"和"File:"前缀
image1 = Locator map Punjab Pakistan (relief).jpg- 替代地图图像,通常是地形图,可使用
relief或AlternativeMap参数显示出来
- 替代地图图像,通常是地形图,可使用
top = 34.2
bottom = 27.5- 地图最南端的纬度,以十进制度数显示。
left = 69.12- 地图最西端的经度,以十进制度数显示。
right = 75.57- 地图最东端的经度,以十进制度数显示。
替代地图
{{Location map}}、{{Location map many}}和{{Location map+}}模板可使用参数来指定替代地图图像。image1的地图可以使用relief和AlternativeMap参数显示出来。 您可以在以下模板中找到更多范例:
- Template:Location map#地形图参数
- Template:Location map+/relief
- Template:Location map#置换成其它地图的参数(AlternativeMap)
- Template:Location map+/AlternativeMap
精度
经度:这张地图从西到东为6.45度。
- 如果图像的宽度为200像素,则为每像素0.0322度。
- 如果图像的宽度为1000像素,则为每像素0.0064度。
纬度:这张地图从北到南为6.7度。
- 如果图像的垂直长度为200像素,则为每像素0.0335度。
- 如果图像的垂直长度为1000像素,则为每像素0.0067度。
位置图模板使用范例
Location map (using default map)
{{Location map | Pakistan Punjab
<!--| caption = Add caption here-->
| width = 250
| lat_deg = 31.549722
| lon_deg = 74.343611
| label = [[Lahore]]
}}
Location map many (using relief map)
{{Location map many | Pakistan Punjab
| relief = yes
| width = 250
| caption = Two locations in [[Punjab, Pakistan]]
| label1 = [[Fort Munro]]
| lat1_deg = 29.925833
| lon1_deg = 69.983333
| background1 = white
| label2 = [[Murree]]
| lat2_deg = 33.9042
| lon2_deg = 73.3903
| background2 = white
}}
参见
位置图模板
- Template:Location map ——使用纬度和经度显示单个标记和标签。
- Template:Location map many ——显示高达9个标记和标签。
- Template:Location map+ ——显示无限数量的标记和标签。