模块:Location map/data/Czech Republic

文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
捷克 位置图
名称 捷克
边界经纬
51.3
11.8 ←↕→ 19.2
48.3
地图中心 49°48′N 15°30′E / 49.8°N 15.5°E / 49.8; 15.5
图像 Czech Republic adm location map.svg
图像1 Relief Map of Czech Republic.png
Map of the Czech Republic

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

使用方法

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

地图定义

  • name = 捷克
    用于地图描述的默认值
  • bottom = 48.3
    地图最南端的纬度,以十进制度数显示。
  • left = 11.8
    地图最西端的经度,以十进制度数显示。
  • right = 19.2
    地图最东端的经度,以十进制度数显示。

替代地图

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

精度

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

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

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

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

位置图模板使用范例

Location map, using default map (image)

Prague在捷克的位置
Prague
Prague
Prague (捷克)
{{Location map | Czech Republic
| width   = 250
| lat_deg = 50.083
| lon_deg = 14.417
| label   = Prague
}}

Location map many, using relief map (image1)

Location map/data/Czech Republic在捷克的位置
Prague
Prague
Ostrava
Ostrava
Two locations in the Czech Republic
{{Location map many | Czech Republic
| relief   = yes
| width    = 250
| caption  = Two locations in the Czech Republic
| lat1_deg = 50.083
| lon1_deg = 14.417
| label1   = Prague
| lat2_deg = 49.836
| lon2_deg = 18.293
| label2   = Ostrava
}}

Location map+, using AlternativeMap

Location map/data/Czech Republic在捷克的位置
Prague
Prague
Ostrava
Ostrava
Two locations in the Czech Republic
{{Location map+ | Czech Republic
| AlternativeMap = Relief Map of Czech Republic.png
| width   = 250
| caption = Two locations in the Czech Republic
| places  =
  {{Location map~ | Czech Republic
  | lat_deg = 50.083
  | lon_deg = 14.417
  | label   = Prague
  }}
  {{Location map~ | Czech Republic
  | lat_deg = 49.836
  | lon_deg = 18.293
  | label   = Ostrava
  }}
}}

参见

位置图模板

创建新的地图模块

return {
	name = '捷克',
	top = 51.3,
	bottom = 48.3,
	left = 11.8,
	right = 19.2,
	image = 'Czech Republic adm location map.svg',
	image1 = 'Relief Map of Czech Republic.png'
}