模块:Location map/data/Syria/doc

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

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


叙利亚 位置图
名称 叙利亚
边界经纬
37.6
34.9 ←↕→ 42.7
32
地图中心 34°48′N 38°48′E / 34.8°N 38.8°E / 34.8; 38.8
图像 Syria adm location map.svg
图像1 Syria physical location map.svg
Map of Syria

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

使用方法

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

地图定义

  • name = 叙利亚
    用于地图描述的默认值
  • bottom = 32
    地图最南端的纬度,以十进制度数显示。
  • left = 34.9
    地图最西端的经度,以十进制度数显示。
  • right = 42.7
    地图最东端的经度,以十进制度数显示。

替代地图

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

精度

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

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

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

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

位置图模板使用范例

Location map, using default map (image)

Damascus在叙利亚的位置
Damascus
Damascus
Damascus (叙利亚)
{{Location map | Syria
| width   = 250
| lat_deg = 33.513
| lon_deg = 36.292
| label   = Damascus
}}

Location map many, using relief map (image1)

Location map/data/Syria/doc在叙利亚的位置
Damascus
Damascus
Aleppo
Aleppo
Al-Malikiyah
Al-Malikiyah
Three locations in Syria
{{Location map many | Syria
| relief   = yes
| width    = 250
| caption  = Three locations in Syria
| lat1_deg = 33.513
| lon1_deg = 36.292
| label1   = Damascus
| lat2_deg = 36.217
| lon2_deg = 37.167
| label2   = Aleppo
| lat3_deg = 37.167
| lon3_deg = 42.133
| label3   = Al-Malikiyah
}}

Location map+, using AlternativeMap

Location map/data/Syria/doc在叙利亚的位置
Damascus
Damascus
Aleppo
Aleppo
Al-Malikiyah
Al-Malikiyah
Three locations in Syria
{{Location map+ | Syria
| AlternativeMap = Syria physical location map.svg
| width   = 250
| caption = Three locations in Syria
| places  =
  {{Location map~ | Syria
  | lat_deg = 33.513
  | lon_deg = 36.292
  | label   = Damascus
  }}
  {{Location map~ | Syria
  | lat_deg = 36.217
  | lon_deg = 37.167
  | label   = Aleppo
  }}
  {{Location map~ | Syria
  | lat_deg = 37.167
  | lon_deg = 42.133
  | label   = Al-Malikiyah
  }}
}}

参见

位置图模板

创建新的地图模块