模組:Location map/data/United Kingdom Herefordshire

维基百科,自由的百科全书
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
赫里福德郡 位置圖
名稱 赫里福德郡
邊界經緯
52.45
-3.15 ←↕→ -2.33
51.8
地圖中心 52°07′30″N 2°44′24″W / 52.125°N 2.74°W / 52.125; -2.74
圖像 Herefordshire UK location map.svg
圖像1 Herefordshire UK relief location map.jpg


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

使用方法

以下模板均使用名為“United Kingdom Herefordshire”的參數:

地圖定義

  • name = 赫里福德郡
    用於地圖描述的默認值
  • bottom = 51.8
    地圖最南端的緯度,以十進制度數顯示。
  • left = -3.15
    地圖最西端的經度,以十進制度數顯示。
  • right = -2.33
    地圖最東端的經度,以十進制度數顯示。

替代地圖

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

精度

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

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

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

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

參見

位置圖模板

創建新的地圖模塊

return {
	name = '赫里福德郡',
	top = 52.45,
	bottom = 51.80,
	left = -3.15,
	right = -2.33,
	image = 'Herefordshire UK location map.svg',
	image1 = 'Herefordshire UK relief location map.jpg'
}