模块:Location map/data/UK Northern Ireland/doc

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

这是Module:Location map/data/UK Northern Ireland的文档页面

北爱尔兰 位置图
名称 北爱尔兰
边界经纬
55.4
-8.3 ←↕→ -5.3
53.9
地图中心 54°39′N 6°48′W / 54.65°N 6.8°W / 54.65; -6.8
图像 United Kingdom Northern Ireland adm location map.svg
图像1 Relief Map of Northern Ireland.png
Map of Northern Ireland

Module:Location map/data/UK Northern Ireland是用于在北爱尔兰等距长方投影英语equirectangular projection地图上叠加标记和标签的位置图定义。标记是按默认的地图或类似地图图像上的纬度经度坐标放置。

使用方法

以下模板均使用名为“UK Northern Ireland”的参数:

地图定义

  • name = 北愛爾蘭
    用于地图描述的默认值
  • bottom = 53.9
    地图最南端的纬度,以十进制度数显示。
  • left = -8.3
    地图最西端的经度,以十进制度数显示。
  • right = -5.3
    地图最东端的经度,以十进制度数显示。

替代地图

{{Location map}}、{{Location map many}}和{{Location map+}}模板可使用参数来指定替代地图图像。image1的地图可以使用reliefAlternativeMap参数显示出来。 您可以在以下模板中找到更多范例:

精度

经度:这张地图从西到东为3度。

  • 如果图像的宽度为200像素,则为每像素0.015度。
  • 如果图像的宽度为1000像素,则为每像素0.003度。

纬度:这张地图从北到南为1.5度。

  • 如果图像的垂直长度为200像素,则为每像素0.0075度。
  • 如果图像的垂直长度为1000像素,则为每像素0.0015度。

位置图模板使用范例

Location map, using default map (image)

Belfast在北爱尔兰的位置
Belfast
Belfast
Belfast (北爱尔兰)
{{Location map | Northern Ireland
| width   = 250
| lat_deg = 54.6
| lon_deg = -5.93
| label   = Belfast
}}

Location map many, using relief map (image1)

Location map/data/UK Northern Ireland/doc在北爱尔兰的位置
Belfast
Belfast
Derry
Derry
Two locations in Northern Ireland
{{Location map many | Northern Ireland
| relief   = yes
| width    = 250
| caption  = Two locations in Northern Ireland
| lat1_deg = 54.6
| lon1_deg = -5.93
| label1   = Belfast
| lat2_deg = 54.99
| lon2_deg = -7.31
| label2   = Derry
}}

Location map+, using AlternativeMap

Location map/data/UK Northern Ireland/doc在北爱尔兰的位置
Belfast
Belfast
Derry
Derry
Two locations in Northern Ireland
{{Location map+ | Northern Ireland
| AlternativeMap = Relief Map of Northern Ireland.png
| width   = 250
| caption = Two locations in Northern Ireland
| places  =
  {{Location map~ | Northern Ireland
  | lat_deg = 54.6
  | lon_deg = -5.93
  | label   = Belfast
  }}
  {{Location map~ | Northern Ireland
  | lat_deg = 54.99
  | lon_deg = -7.31
  | label   = Derry
  }}
}}

参见

位置图模板

创建新的地图模块