モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
イラン 位置図
名称 イラン
境界の経緯
40
43.5 ←↕→ 64
24.5
地図の中心 北緯32度15分 東経53度45分 / 北緯32.25度 東経53.75度 / 32.25; 53.75
画像 Iran location map.svg
画像1 Iran relief location map.jpg
Map of Iran

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

使用法

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

地図パラメータ

  • name = イラン
    モジュール名は地図説明文の既定値になります
  • image = Iran location map.svg
    既定値の地図画像で"Image:"や"File:"は指定しません。
  • image1 = Iran relief location map.jpg
    代替地図画像で、通常は地形図をreliefかAlternativeMapというパラメータで指定して表示します。
  • top = 40
    地図最北端の緯度十進角で表記します。
  • bottom = 24.5
    地図最南端の緯度を十進角で表記します。
  • left = 43.5
    地図最西端の経度を十進角で表記します。
  • right = 64
    地図最東端の経度を十進角で表記します。

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Tehranの位置(イラン内)
Tehran
Tehran
Tehran (イラン)
{{Location map | Iran
| width   = 250
| lat_deg = 35.696
| lon_deg = 51.423
| label   = Tehran
}}

Location map many, using relief map (image1)

Location map/data/Iranの位置(イラン内)
Tehran
Tehran
Chābahār
Chābahār
Two locations in Iran
{{Location map many | Iran
| relief   = yes
| width    = 250
| caption  = Two locations in Iran
| lat1_deg = 35.696
| lon1_deg = 51.423
| label1   = Tehran
| lat2_deg = 25.292
| lon2_deg = 60.643
| label2   = Chābahār
}}

Location map+, using AlternativeMap

Location map/data/Iranの位置(イラン内)
Tehran
Tehran
Chābahār
Chābahār
Two locations in Iran
{{Location map+ | Iran
| AlternativeMap = Iran relief location map.jpg
| width   = 250
| caption = Two locations in Iran
| places  =
  {{Location map~ | Iran
  | lat_deg = 35.696
  | lon_deg = 51.423
  | label   = Tehran
  }}
  {{Location map~ | Iran
  | lat_deg = 25.292
  | lon_deg = 60.643
  | label   = Chābahār
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'イラン',
	top = 40.0,
	bottom = 24.5,
	left = 43.5,
	right = 64.0,
	image = 'Iran location map.svg',
	image1 = 'Iran relief location map.jpg'
}