模組:Location map/data/India/doc

维基百科,自由的百科全书

这是Module:Location map/data/India的文档页面


印度 位置圖
名稱 印度
邊界經緯
37.5
67 ←↕→ 99
5
地圖中心 21°15′N 83°00′E / 21.25°N 83°E / 21.25; 83
圖像 India location map.svg
圖像1 India relief location map.jpg
Map of India

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

使用方法

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

地圖定義

  • name = 印度
    用於地圖描述的默認值
  • bottom = 5
    地圖最南端的緯度,以十進制度數顯示。
  • left = 67
    地圖最西端的經度,以十進制度數顯示。
  • right = 99
    地圖最東端的經度,以十進制度數顯示。

替代地圖

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

精度

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

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

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

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

位置圖模板使用範例

Location map, using default map (image)

Mumbai在印度的位置
Mumbai
Mumbai
Mumbai (印度)
{{Location map | India
| width   =200
| lat_deg = 18.98
| lon_deg = 72.83
| label   = Mumbai
}}

Location map many, using relief map (image1)

Location map/data/India/doc在印度的位置
Mumbai
Mumbai
New Delhi
New Delhi
Two locations in India
{{Location map many | India
| relief   = yes
| width    = 200
| caption  = Two locations in India
| lat1_deg = 18.98
| lon1_deg = 72.83
| label1   = Mumbai
| lat2_deg = 28.61
| lon2_deg = 77.21
| label2   = New Delhi
}}

Location map+, using AlternativeMap

Location map/data/India/doc在印度的位置
Mumbai
Mumbai
New Delhi
New Delhi
Two locations in India
{{Location map+ | India
| AlternativeMap = India relief location map.jpg
| width   = 200
| caption = Two locations in India
| places  =
  {{Location map~ | India
  | lat_deg = 18.98
  | lon_deg = 72.83
  | label   = Mumbai
  }}
  {{Location map~ | India
  | lat_deg = 28.61
  | lon_deg = 77.21
  | label   = New Delhi
  }}
}}
  }}
}}

參見

位置圖模板

創建新的地圖模塊