模組: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'
}