模块:Location map/data/China Yunnan

文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
云南 位置图
名称 云南
边界经纬
29.5
97.2 ←↕→ 106.5
21
地图中心 25°15′N 101°51′E / 25.25°N 101.85°E / 25.25; 101.85
图像 China Yunnan adm location map.svg
图像1 China Yunnan rel location map.svg


Module:Location map/data/China Yunnan是用于在云南等距长方投影英语equirectangular projection地图上叠加标记和标签的位置图定义。标记是按默认的地图或类似地图图像上的纬度经度坐标放置。

使用方法

以下模板均使用名为“China Yunnan”的参数:

地图定义

  • name = 云南
    用于地图描述的默认值
  • bottom = 21
    地图最南端的纬度,以十进制度数显示。
  • left = 97.2
    地图最西端的经度,以十进制度数显示。
  • right = 106.5
    地图最东端的经度,以十进制度数显示。

替代地图

{{Location map}}、{{Location map many}}和{{Location map+}}模板可使用参数来指定替代地图图像。image1的地图可以使用reliefAlternativeMap参数显示出来。 您可以在以下模板中找到更多范例:

精度

经度:这张地图从西到东为9.3度。

  • 如果图像的宽度为200像素,则为每像素0.0465度。
  • 如果图像的宽度为1000像素,则为每像素0.0093度。

纬度:这张地图从北到南为8.5度。

  • 如果图像的垂直长度为200像素,则为每像素0.0425度。
  • 如果图像的垂直长度为1000像素,则为每像素0.0085度。

参见

位置图模板

创建新的地图模块

return {
	name = '云南',
	top = 29.5,
	bottom = 21.0,
	left = 97.2,
	right = 106.5,
	image = 'China Yunnan adm location map.svg',
	image1 = 'China Yunnan rel location map.svg'
}