For faster navigation, this Iframe is preloading the Wikiwand page for 模块:Location map/data/South Africa/doc.

模块:Location map/data/South Africa/doc

南非 位置图
名称 南非
边界经纬
-21.8
16 ←↕→ 33.2
-35.2
地图中心 28°30′S 24°36′E / 28.5°S 24.6°E / -28.5; 24.6
图像 South Africa adm location map.svg
图像1 South Africa relief location map.svg
Map of South Africa

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

使用方法

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

地图定义

  • name = 南非
    用于地图描述的默认值
  • bottom = -35.2
    地图最南端的纬度,以十进制度数显示。
  • left = 16
    地图最西端的经度,以十进制度数显示。
  • right = 33.2
    地图最东端的经度,以十进制度数显示。

替代地图

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

精度

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

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

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

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

位置图模板使用范例

Location map, using default map (image)

Pretoria在南非的位置
Pretoria
Pretoria
Pretoria (南非)
((Location map | South Africa
| width   = 250
| lat_deg = -25.75
| lon_deg = 28.19
| label   = Pretoria
))

Location map many, using relief map (image1)

Location map/data/South Africa/doc在南非的位置
Pretoria
Pretoria
Cape Town
Cape Town
Two locations in South Africa
((Location map many | South Africa
| relief   = yes
| width    = 250
| caption  = Two locations in South Africa
| lat1_deg = -25.75
| lon1_deg = 28.19
| label1   = Pretoria
| lat2_deg = -33.93
| lon2_deg = 18.42
| label2   = Cape Town
))

Location map+, using AlternativeMap

Location map/data/South Africa/doc在南非的位置
Pretoria
Pretoria
Cape Town
Cape Town
Two locations in South Africa
((Location map+ | South Africa
| AlternativeMap = South Africa relief location map.svg
| width   = 250
| caption = Two locations in South Africa
| places  =
  ((Location map~ | South Africa
  | lat_deg = -25.75
  | lon_deg = 28.19
  | label   = Pretoria
  ))
  ((Location map~ | South Africa
  | lat_deg = -33.93
  | lon_deg = 18.42
  | label   = Cape Town
  ))
))

参见

位置图模板

创建新的地图模块

  • Template:Location map/Creating a new map definition
{{bottomLinkPreText}} {{bottomLinkText}}
模块:Location map/data/South Africa/doc
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?