模組:Location map/data/Marodi Jeh

维基百科,自由的百科全书
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
馬魯迪耶州 位置圖
名稱 馬魯迪耶州
邊界經緯
11.1
43.21 ←↕→ 45.1
8.53
地圖中心 9°48′54″N 44°09′18″E / 9.815°N 44.155°E / 9.815; 44.155
圖像 Somaliland Marodi Jeh location map.svg
Map of Marodi Jeh, Somaliland

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

使用方法

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

地圖定義

  • name = 馬魯迪耶州
    用於地圖描述的默認值
  • bottom = 8.53
    地圖最南端的緯度,以十進制度數顯示。
  • left = 43.21
    地圖最西端的經度,以十進制度數顯示。
  • right = 45.1
    地圖最東端的經度,以十進制度數顯示。

精度

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

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

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

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

位置圖模板使用範例

Location map, using default map (image)

Hargeisa在馬魯迪耶州的位置
Hargeisa
Hargeisa
Hargeisa (馬魯迪耶州)
{{Location map | Marodi Jeh
| width   = 200
| lat_deg = 9.56
| lon_deg = 44.06
| label   = Hargeisa
}}

Location map many, using default map

Location map/data/Marodi Jeh在馬魯迪耶州的位置
Hargeisa
Hargeisa
Wajaale
Wajaale
Sabawanaag
Sabawanaag
Three locations in Marodi Jeh
{{Location map many| Marodi Jeh
| width    = 200
| caption  = Three locations in Marodi Jeh
| lat1_deg = 9.56
| lon1_deg = 44.06
| label1   = Hargeisa
| lat2_deg = 9.59
| lon2_deg = 43.33
| label2   = Wajaale
| lat3_deg = 9.04
| lon3_deg = 44.58
| label3   = Sabawanaag
}}

參見

位置圖模板

創建新的地圖模塊

return {
	name = '馬魯迪耶州',
	top = 11.1,
	bottom = 8.53,
	left = 43.21,
	right = 45.1,
	image = 'Somaliland Marodi Jeh location map.svg',
}