模块:Location map/data/France/doc

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


法国 位置图
名称 法国
边界经纬
51.5
-5.8 ←↕→ 10
41
地图中心 46°15′N 2°06′E / 46.25°N 2.1°E / 46.25; 2.1
图像 France location map-Regions and departements-2016.svg
图像1 France relief location map.jpg
Map of France

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

使用方法

以下模板均使用名为“France”的参数:

地图定义

  • name = 法国
    用于地图描述的默认值
  • bottom = 41
    地图最南端的纬度,以十进制度数显示。
  • left = -5.8
    地图最西端的经度,以十进制度数显示。
  • right = 10
    地图最东端的经度,以十进制度数显示。

替代地图

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

精度

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

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

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

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

位置图模板使用范例

Location map, using default map (image)

 
 
Paris
Paris (法国)
{{Location map | France
| width   = 200
| lat_deg = 48.857
| lon_deg = 2.351
| label   = Paris
}}

Location map many, using relief map (image1)

 
 
Paris
 
Nice
Two locations in France
{{Location map many | France
| relief   = yes
| width    = 200
| caption  = Two locations in France
| lat1_deg = 48.857
| lon1_deg = 2.351
| label1   = Paris
| lat2_deg = 43.703
| lon2_deg = 7.266
| label2   = Nice
}}

Location map+, using AlternativeMap

 
 
Paris
 
Nice
Two locations in France
{{Location map+ | France
| AlternativeMap = France relief location map.jpg
| width   = 200
| caption = Two locations in France
| places  =
  {{Location map~ | France
  | lat_deg = 48.857
  | lon_deg = 2.351
  | label   = Paris
  }}
  {{Location map~ | France
  | lat_deg = 43.703
  | lon_deg = 7.266
  | label   = Nice
  }}
}}

参见

位置图模板

创建新的地图模块