モジュール:Location map/data/Ireland

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
アイルランド 位置図
名称 アイルランド
境界の経緯
55.6
-11 ←↕→ -5
51.2
地図の中心 北緯53度24分 西経8度00分 / 北緯53.4度 西経8度 / 53.4; -8
画像 Ireland adm location map.svg
画像1 Ireland relief location map.png
Map of Ireland

モジュール:Location map/data/Irelandアイルランド正距円筒図法地図でオーバーレイのマーカー・ラベルを表示するのに使用する地点図のLuaモジュールです。マーカーは既定値の地図や同じような地図画像において緯度経度の座標に基いて置かれます。

使用法

次のテンプレートで"Ireland"というパラメータを使用します:

地図パラメータ

  • name = アイルランド
    モジュール名は地図説明文の既定値になります
  • bottom = 51.2
    地図最南端の緯度を十進角で表記します。
  • left = -11
    地図最西端の経度を十進角で表記します。
  • right = -5
    地図最東端の経度を十進角で表記します。

代替地図

image1 (Ireland relief location map.png)で定義された地図は{{Location map}}、{{Location map many}}、{{Location map+}}といったテンプレートの「relief」か「AlternativeMap」のパラメータを使って表示できます。 これら2つのパラメータは以下の使用例で示しています。さらなる使用例は次のテンプレートにあります。:

精度

経度: この地図は西から東まで6度です。

  • 画像の幅が200ピクセルの場合は1ピクセルにつき0.03度です。
  • 画像の幅が1000ピクセルの場合は1ピクセルにつき0.006度です。

緯度: この地図は北から南まで4.4度です。

  • 画像の縦の長さが200ピクセルの場合は1ピクセルにつき0.022度です。
  • 画像の縦の長さが1000ピクセルの場合は1ピクセルにつき0.0044度です。== Location mapテンプレート使用例 ==

Location map, using default map (image)

Dublinの位置(アイルランド内)
Dublin
Dublin
Dublin (アイルランド)
{{Location map | Ireland
| width   = 250
| lat_deg = 53.35
| lon_deg = -6.26
| label   = Dublin
}}

Location map many, using relief map (image1)

Location map/data/Irelandの位置(アイルランド内)
Location map/data/Ireland
Cork
Cork
Two locations in the Republic of Ireland
{{Location map many | Ireland
| relief   = yes
| width    = 250
| caption  = Two locations in the Republic of Ireland
| lat1_deg = 53.35
| lon1_deg = -6.26
| labe1l   = Dublin
| lat2_deg = 51.9
| lon2_deg = -8.47
| label2   = Cork
}}

Location map+, using AlternativeMap

Location map/data/Irelandの位置(アイルランド内)
Dublin
Dublin
Cork
Cork
Two locations in the Republic of Ireland
{{Location map+ | Ireland
| AlternativeMap = Ireland relief location map.png
| width   = 250
| caption = Two locations in Ireland
| places  =
  {{Location map~ | Ireland
  | lat_deg = 53.35
  | lon_deg = -6.26
  | label   = Dublin
  }}
  {{Location map~ | Ireland
  | lat_deg = 51.9
  | lon_deg = -8.47
  | label   = Cork
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'アイルランド',
	top = 55.6,
	bottom = 51.2,
	left = -11.0,
	right = -5.0,
	image = 'Ireland adm location map.svg',
	image1 = 'Ireland relief location map.png'
}