跳转到内容

模組:Location map/data/Italy Piedmont

维基百科,自由的百科全书
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
皮埃蒙特大区 位置圖
名稱 皮埃蒙特大区
邊界經緯
46.5
6.6 ←↕→ 9.2335
44.0336
地圖中心 45°16′00″N 7°55′00″E / 45.2668°N 7.91675°E / 45.2668; 7.91675
圖像 Italy Piemonte location map.svg
圖像1 Piemonte relief location map.jpg
圖像2 Italia Piemonte location map 2.svg


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

使用方法

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

地圖定義

  • name = 皮埃蒙特大区
    用於地圖描述的默認值
  • bottom = 44.0336
    地圖最南端的緯度,以十進制度數顯示。
  • left = 6.6
    地圖最西端的經度,以十進制度數顯示。
  • right = 9.2335
    地圖最東端的經度,以十進制度數顯示。

替代地圖

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

精度

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

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

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

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

參見

位置圖模板

創建新的地圖模塊

return {
	name = '皮埃蒙特大区',
	top = 46.5,
	bottom = 44.0336,
	left = 6.6,
	right = 9.2335,
	image = 'Italy Piemonte location map.svg',
	image1 = 'Piemonte relief location map.jpg',
	image2 = 'Italia Piemonte location map 2.svg'
}