模块:Location map/data/Eswatini/doc

维基百科,自由的百科全书

这是Module:Location map/data/Eswatini的文档页面

斯威士兰 位置图
名称 斯威士兰
边界经纬
-25.6
30.6 ←↕→ 32.3
-27.5
地图中心 26°33′S 31°27′E / 26.55°S 31.45°E / -26.55; 31.45
图像 Eswatini adm location map.svg
图像1 Swaziland relief location map.svg
图像2 Swaziland location map Topographic.png
Map of Eswatini

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

使用方法

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

地图定义

  • name = 史瓦帝尼
    用于地图描述的默认值
  • bottom = -27.5
    地图最南端的纬度,以十进制度数显示。
  • left = 30.6
    地图最西端的经度,以十进制度数显示。
  • right = 32.3
    地图最东端的经度,以十进制度数显示。

替代地图

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

精度

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

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

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

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

位置图模板使用范例

Location map, using default map (image)

Mbabane在斯威士兰的位置
Mbabane
Mbabane
Mbabane (斯威士兰)
{{Location map | Swaziland
| width   = 200
| lat_deg = -26.32
| lon_deg = 31.13
| label   = Mbabane
}}

Location map many, using relief map (image1)

Location map/data/Eswatini/doc在斯威士兰的位置
Mbabane
Mbabane
Big Bend
Big Bend
Two locations in Eswatini
{{Location map many | Swaziland
| relief   = yes
| width    = 200
| caption  = Two locations in Eswatini
| lat1_deg = -26.32
| lon1_deg = 31.13
| label1   = Mbabane
| pos1     = right
| lat2_deg = -26.82
| lon2_deg = 31.93
| label2   = Big Bend
| pos2     = left
}}

Location map+, using AlternativeMap

Location map/data/Eswatini/doc在斯威士兰的位置
Mbabane
Mbabane
Big Bend
Big Bend
Two locations in Eswatini
{{Location map+ | Swaziland
| AlternativeMap = Swaziland relief location map.svg
| width   = 200
| caption = Two locations in Eswatini
| places  =
  {{Location map~ | Swaziland
  | lat_deg = -26.32
  | lon_deg = 31.13
  | label   = Mbabane
  | position = right
  }}
  {{Location map~ | Swaziland
  | lat_deg  = -26.82
  | lon_deg  = 31.93
  | label    = Big Bend
  | position = left
  }}
}}

参见

位置图模板

创建新的地图模块