模组:Location map/data/India/doc

维基百科,自由的百科全书
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

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


印度 位置图
名称 印度
边界经纬
37.5
67 ←↕→ 99
5
地图中心 Lua错误:callParserFunction: function "#coordinates" was not found。
图像 India location map.svg
File:India location map.svg
图像1 India relief location map.jpg
File:India relief location map.jpg
File:India-map-en.svg
Map of India

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

使用方法

以下模板均使用名为“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 (印度)
{{Location map | India
| width   =200
| lat_deg = 18.98
| lon_deg = 72.83
| label   = Mumbai
}}

Location map many, using relief map (image1)

{{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+ | 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
  }}
}}
  }}
}}

参见

位置图模板

创建新的地图模块