模块:Location map/data/Spratly Islands relief

文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
南沙群岛 位置图
名称 南沙群岛
边界经纬
13.5
108 ←↕→ 120
3
地图中心 8°15′N 114°00′E / 8.25°N 114°E / 8.25; 114
图像 Spratly Islands relief location map.svg
图像1 Spratly Islands location map.svg


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

使用方法

以下模板均使用名为“Spratly Islands relief”的参数:

地图定义

  • name = 南沙群島
    用于地图描述的默认值
  • bottom = 3
    地图最南端的纬度,以十进制度数显示。
  • left = 108
    地图最西端的经度,以十进制度数显示。
  • right = 120
    地图最东端的经度,以十进制度数显示。

替代地图

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

精度

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

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

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

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

参见

位置图模板

创建新的地图模块

return {
 name  = '南沙群島',
 top    = 13.5,
 bottom = 3.0,
 left   = 108.0,
 right  = 120.0,
 image= 'Spratly Islands relief location map.svg',
 image1= 'Spratly Islands location map.svg'
}