モジュール:Location map/data/Romania/doc


ルーマニア 位置図
名称 ルーマニア
境界の経緯
48.5
20 ←↕→ 30
43.4
地図の中心 北緯45度57分 東経25度00分 / 北緯45.95度 東経25度 / 45.95; 25
画像 Romania location map.svg
画像1 Relief Map of Romania.png
Map of Romania

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

使用法

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

地図パラメータ

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

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Bucharestの位置(ルーマニア内)
Bucharest
Bucharest
Bucharest (ルーマニア)
{{Location map | Romania
| width   = 250
| lat_deg = 44.433
| lon_deg = 26.104
| label   = Bucharest
}}

Location map many, using relief map (image1)

Location map/data/Romania/docの位置(ルーマニア内)
Bucharest
Bucharest
Arad
Arad
Two locations in Romania
{{Location map many | Romania
| relief   = yes
| width    = 250
| caption  = Two locations in Romania
| lat1_deg = 44.433
| lon1_deg = 26.104
| label1   = Bucharest
| lat2_deg = 46.167
| lon2_deg = 21.317
| label2   = Arad
}}

Location map+, using AlternativeMap

Location map/data/Romania/docの位置(ルーマニア内)
Bucharest
Bucharest
Arad
Arad
Two locations in Romania
{{Location map+ | Romania
| AlternativeMap = Relief Map of Romania.png
| width   = 250
| caption = Two locations in Romania
| places  =
  {{Location map~ | Romania
  | lat_deg = 44.433
  | lon_deg = 26.104
  | label   = Bucharest
  }}
  {{Location map~ | Romania
  | lat_deg = 46.167
  | lon_deg = 21.317
  | label   = Arad
  }}
}}

関連項目

Location mapテンプレート