模組:Location map/data/France

文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
法国 位置圖
名稱 法国
邊界經緯
51.5
-5.8 ←↕→ 10
41
地圖中心 46°15′N 2°06′E / 46.25°N 2.1°E / 46.25; 2.1
圖像 France location map-Regions and departements-2016.svg
圖像1 France relief location map.jpg
Map of France

Module:Location map/data/France是用於在法国等距長方投影英语equirectangular projection地圖上疊加標記和標籤的位置圖定義。標記是按默認的地圖或類似地圖圖像上的緯度經度坐標放置。

使用方法

以下模板均使用名為“France”的參數:

地圖定義

  • name = 法国
    用於地圖描述的默認值
  • bottom = 41
    地圖最南端的緯度,以十進制度數顯示。
  • left = -5.8
    地圖最西端的經度,以十進制度數顯示。
  • right = 10
    地圖最東端的經度,以十進制度數顯示。

替代地圖

{{Location map}}、{{Location map many}}和{{Location map+}}模板可使用參數來指定替代地圖圖像。image1的地圖可以使用reliefAlternativeMap參數顯示出來。 您可以在以下模板中找到更多範例:

精度

經度:這張地圖從西到東為15.8度。

  • 如果圖像的寬度為200像素,則為每像素0.079度。
  • 如果圖像的寬度為1000像素,則為每像素0.0158度。

緯度:這張地圖從北到南為10.5度。

  • 如果圖像的垂直長度為200像素,則為每像素0.0525度。
  • 如果圖像的垂直長度為1000像素,則為每像素0.0105度。

位置圖模板使用範例

Location map, using default map (image)

Paris在法国的位置
Paris
Paris
Paris (法国)
{{Location map | France
| width   = 200
| lat_deg = 48.857
| lon_deg = 2.351
| label   = Paris
}}

Location map many, using relief map (image1)

Location map/data/France在法国的位置
Paris
Paris
Nice
Nice
Two locations in France
{{Location map many | France
| relief   = yes
| width    = 200
| caption  = Two locations in France
| lat1_deg = 48.857
| lon1_deg = 2.351
| label1   = Paris
| lat2_deg = 43.703
| lon2_deg = 7.266
| label2   = Nice
}}

Location map+, using AlternativeMap

Location map/data/France在法国的位置
Paris
Paris
Nice
Nice
Two locations in France
{{Location map+ | France
| AlternativeMap = France relief location map.jpg
| width   = 200
| caption = Two locations in France
| places  =
  {{Location map~ | France
  | lat_deg = 48.857
  | lon_deg = 2.351
  | label   = Paris
  }}
  {{Location map~ | France
  | lat_deg = 43.703
  | lon_deg = 7.266
  | label   = Nice
  }}
}}

參見

位置圖模板

創建新的地圖模塊

return {
	name = '法国',
	top = 51.5,
	bottom = 41.0,
	left = -5.8,
	right = 10.0,
	image = 'France location map-Regions and departements-2016.svg',
	image1 = 'France relief location map.jpg'
}