模組:Location map/data/USA Illinois

被永久保护的模块
维基百科,自由的百科全书
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
伊利诺伊州 位置圖
名稱 伊利诺伊州
邊界經緯
42.7
-92.2 ←↕→ -86.4
36.8
地圖中心 39°45′N 89°18′W / 39.75°N 89.3°W / 39.75; -89.3
圖像 USA Illinois location map.svg
Map of Illinois (click on map to see larger image)

Module:Location map/data/USA Illinois是用於在伊利诺伊州等距長方投影英语equirectangular projection地圖上疊加標記和標籤的位置圖定義。標記是按默認的地圖或類似地圖圖像上的緯度經度坐標放置。

使用方法

以下模板均使用名為“USA Illinois”的參數:

地圖定義

  • name = 伊利诺伊州
    用於地圖描述的默認值
  • bottom = 36.8
    地圖最南端的緯度,以十進制度數顯示。
  • left = -92.2
    地圖最西端的經度,以十進制度數顯示。
  • right = -86.4
    地圖最東端的經度,以十進制度數顯示。

精度

經度:這張地圖從西到東為5.8度。

  • 如果圖像的寬度為200像素,則為每像素0.029度。
  • 如果圖像的寬度為1000像素,則為每像素0.0058度。

緯度:這張地圖從北到南為5.9度。

  • 如果圖像的垂直長度為200像素,則為每像素0.0295度。
  • 如果圖像的垂直長度為1000像素,則為每像素0.0059度。

位置圖模板使用範例

Location map

Springfield在伊利诺伊州的位置
Springfield
Springfield
Springfield (伊利诺伊州)
{{Location map | USA Illinois
| width   = 200
| lat_deg =  39 | lat_min = 46 | lat_sec = 59 | lat_dir = N 
| lon_deg = 089 | lon_min = 39 | lon_sec = 00 | lon_dir = W
| label   = Springfield
}}

Location map many

Location map/data/USA Illinois在伊利诺伊州的位置
Warren
Warren
Cairo
Cairo
Meyer
Meyer
Calumet City
Calumet City
Locations in Illinois
{{Location map many | USA Illinois
| width    = 200
| caption  = Locations in Illinois
| lat1 = 42.496 | long1 = -89.990 | label1 = Warren
| lat2 = 37.013 | long2 = -89.180 | label2 = Cairo
| lat3 = 40.148 | long3 = -91.504 | label3 = Meyer
| lat4 = 41.614 | long4 = -87.546 | label4 = Calumet City
}}

Location map+

Location map/data/USA Illinois在伊利诺伊州的位置
Warren
Warren
Cairo
Cairo
Meyer
Meyer
Calumet City
Calumet City
Locations in Illinois
{{Location map+ | USA Illinois
| width   = 200
| caption = Locations in Illinois
| places  =
  {{Location map~ | USA Illinois
  | lat = 42.496 | long = -89.990 | label = Warren
  }}
  {{Location map~ | USA Illinois
  | lat = 37.013 | long = -89.180 | label = Cairo
  }}
  {{Location map~ | USA Illinois
  | lat = 40.148 | long = -91.504 | label = Meyer
  }}
  {{Location map~ | USA Illinois
  | lat = 41.614 | long = -87.546 | label = Calumet City
  }}
}}

參見

位置圖模板

創建新的地圖模塊

return {
	name = '伊利诺伊州',
	top = 42.7,
	bottom = 36.8,
	left = -92.2,
	right = -86.4,
	image = 'USA Illinois location map.svg'
}