模块:Location map/data/San Francisco Bay Area

文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
旧金山湾区 位置图
名称 旧金山湾区
边界经纬
38.2033
-122.6445 ←↕→ -121.5871
37.1897
地图中心 37°41′47″N 122°06′57″W / 37.6965°N 122.1158°W / 37.6965; -122.1158
图像 Location Map San Francisco Bay Area.png
Map of San Francsico Bay Area

Module:Location map/data/San Francisco Bay Area是用于在旧金山湾区等距长方投影英语equirectangular projection地图上叠加标记和标签的位置图定义。标记是按默认的地图或类似地图图像上的纬度经度坐标放置。

使用方法

以下模板均使用名为“San Francisco Bay Area”的参数:

地图定义

  • name = 舊金山灣區
    用于地图描述的默认值
  • bottom = 37.1897
    地图最南端的纬度,以十进制度数显示。
  • left = -122.6445
    地图最西端的经度,以十进制度数显示。
  • right = -121.5871
    地图最东端的经度,以十进制度数显示。

精度

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

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

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

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

位置图模板使用范例

Location map, using default map (image)

恩典座堂在旧金山湾区的位置
恩典座堂
恩典座堂
恩典座堂 (旧金山湾区)
{{Location map | San Francisco Bay Area
| width   = 250
| lat_deg = 37.7917
| lon_deg = -122.4131
| label   = 恩典座堂
}}

Location map many

Location map/data/San Francisco Bay Area在旧金山湾区的位置
恩典座堂
恩典座堂
San Mateo–Hayward Bridge
San Mateo–Hayward Bridge
Two locations in the San Francisco Bay Area
{{Location map many | San Francisco Bay Area
| width    = 250
| caption  = Two locations in the San Francisco Bay Area
| lat1_deg = 37.7917
| lon1_deg = -122.4131
| label1   = 恩典座堂
| lat2_deg = 37.6019
| lon2_deg = -122.2047
| label2   = San Mateo–Hayward Bridge
}}

Location map+

Location map/data/San Francisco Bay Area在旧金山湾区的位置
San Mateo–Hayward Bridge
San Mateo–Hayward Bridge
Four locations in the San Francisco Bay Area
{{Location map+ | San Francisco Bay Area
| width   = 200
| caption = Four locations in the San Francisco Bay Area
| places  =
  {{Location map~ | San Francisco Bay Area
   | lat_deg = 37.7917
   | lon_deg = -122.4131
   | label   = [[恩典座堂]]
  }}
  {{Location map~ | San Francisco Bay Area
   | lat_deg = 37.6019
   | lon_deg = -122.2047
   | label   = San Mateo–Hayward Bridge
  }}
  {{Location map~ | San Francisco Bay Area
   | lat_deg = 37.4220
   | lon_deg = -122.0841
   | label   = [[Google]]
  }}
  {{Location map~ | San Francisco Bay Area
   | lat_deg = 37.870
   | lon_deg = -122.259
   | label   = [[加利福尼亞大學柏克萊分校|柏克萊]]
  }}
}}

参见

位置图模板

创建新的地图模块

return {
	name = '舊金山灣區',
	image = 'Location Map San Francisco Bay Area.png',
	top = 38.2033,
	bottom = 37.1897,
	left = -122.6445,
	right = -121.5871
}