模块:Location map/data/Lebanon Beirut

文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
贝鲁特 位置图
名称 贝鲁特
边界经纬
33.92065
35.45248 ←↕→ 35.55149
33.85524
地图中心 33°53′17″N 35°30′07″E / 33.887945°N 35.501985°E / 33.887945; 35.501985
图像 Beirut location map.svg
图像1 Lebanon Beirut OSM transport.png


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

使用方法

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

地图定义

  • name = 贝鲁特
    用于地图描述的默认值
  • bottom = 33.85524
    地图最南端的纬度,以十进制度数显示。
  • left = 35.45248
    地图最西端的经度,以十进制度数显示。
  • right = 35.55149
    地图最东端的经度,以十进制度数显示。

替代地图

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

精度

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

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

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

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

参见

位置图模板

创建新的地图模块

return {
	name = '贝鲁特',
	top = 33.92065,
	bottom = 33.85524,
	left = 35.45248,
	right = 35.55149,
	image = 'Beirut location map.svg',
	image1 = 'Lebanon Beirut OSM transport.png'
}