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

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
ナイジェリア 位置図
名称 ナイジェリア
境界の経緯
14
2 ←↕→ 15
4
地図の中心 北緯9度00分 東経8度30分 / 北緯9度 東経8.5度 / 9; 8.5
画像 Nigeria location map.svg
画像1 Nigeria relief location map.jpg
Map of Nigeria

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

使用法

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

地図パラメータ

  • name = ナイジェリア
    モジュール名は地図説明文の既定値になります
  • bottom = 4
    地図最南端の緯度を十進角で表記します。
  • left = 2
    地図最西端の経度を十進角で表記します。
  • right = 15
    地図最東端の経度を十進角で表記します。

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Abujaの位置(ナイジェリア内)
Abuja
Abuja
Abuja (ナイジェリア)
{{Location map | Nigeria
| width   = 250
| lat_deg = 9.07
| lon_deg = 7.48
| label   = Abuja
}}

Location map many, using relief map (image1)

Location map/data/Nigeriaの位置(ナイジェリア内)
Abuja
Abuja
Lagos
Lagos
Two locations in Nigeria
{{Location map many | Nigeria
| relief   = yes
| width    = 250
| caption  = Two locations in Nigeria
| lat1_deg = 9.07
| lon1_deg = 7.48
| label1   = Abuja
| lat2_deg = 6.45
| lon2_deg = 3.39
| label2   = Lagos
}}

Location map+, using AlternativeMap

Location map/data/Nigeriaの位置(ナイジェリア内)
Abuja
Abuja
Lagos
Lagos
Two locations in Nigeria
{{Location map+ | Nigeria
| AlternativeMap = Nigeria relief location map.jpg
| width   = 250
| caption = Two locations in Nigeria
| places  =
  {{Location map~ | Nigeria
  | lat_deg = 9.07
  | lon_deg = 7.48
  | label   = Abuja
  }}
  {{Location map~ | Nigeria
  | lat_deg = 6.45
  | lon_deg = 3.39
  | label   = Lagos
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'ナイジェリア',
	top = 14.0,
	bottom = 4.0,
	left = 2.0,
	right = 15.0,
	image = 'Nigeria location map.svg',
	image1 = 'Nigeria relief location map.jpg'
}