跳转到内容

模組:Location map/data/United Kingdom Anguilla

维基百科,自由的百科全书
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
Anguilla 位置圖
名稱 Anguilla
邊界經緯
18.62
-63.46 ←↕→ -62.9
18.14
地圖中心 18°23′N 63°11′W / 18.38°N 63.18°W / 18.38; -63.18
圖像 Anguilla location map.svg
Map of Anguilla

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

使用方法

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

地圖定義

  • name = Anguilla
    用於地圖描述的默認值
  • bottom = 18.14
    地圖最南端的緯度,以十進制度數顯示。
  • left = -63.46
    地圖最西端的經度,以十進制度數顯示。
  • right = -62.9
    地圖最東端的經度,以十進制度數顯示。

精度

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

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

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

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

位置圖模板使用範例

Location map

The Valley在Anguilla的位置
The Valley
The Valley
The Valley (Anguilla)
{{Location map | United Kingdom Anguilla
| width   = 250
| lat_deg = 18.221
| lon_deg = -63.052
| label   = The Valley
}}

Location map many

Location map/data/United Kingdom Anguilla在Anguilla的位置
The Valley
The Valley
Dog Island
Dog Island
Two locations in Anguilla
{{Location map many | United Kingdom Anguilla
| width     = 250
| caption   = Two locations in Anguilla
| lat1_deg  = 18.221
| lon1_deg  = -63.052
| label1    = The Valley
| pos1      = top
| lat2_deg  = 18.278
| lon2_deg  = -63.253
| label2    = Dog Island
| pos2      = bottom
| mark2     = Red circle 50%.svg
| mark2size = 20
}}

Location map+

Location map/data/United Kingdom Anguilla在Anguilla的位置
The Valley
The Valley
Dog Island
Dog Island
Two locations in Anguilla
{{Location map+ | United Kingdom Anguilla
| width   = 250
| caption = Two locations in Anguilla
| places  =
  {{Location map~ | United Kingdom Anguilla
  | lat_deg  = 18.221
  | lon_deg  = -63.052
  | label    = The Valley
  | position = top
  }}
  {{Location map~ | United Kingdom Anguilla
  | lat_deg  = 18.278
  | lon_deg  = -63.253
  | label    = Dog Island
  | position = bottom
  | mark     = Red circle 50%.svg
  | marksize = 20
  }}
}}

參見

位置圖模板

創建新的地圖模塊

return {
name   = 'Anguilla',
top    = 18.62,
bottom = 18.14,
left   = -63.46,
right  = -62.90,
image  = 'Anguilla location map.svg'
}