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


バハマ 位置図
名称 バハマ
境界の経緯
27.5
-80.7 ←↕→ -70.8
20.7
地図の中心 北緯24度06分 西経75度45分 / 北緯24.1度 西経75.75度 / 24.1; -75.75
画像 Bahamas location map.svg
画像1 Relief map of Bahamas.png
Map of the Bahamas

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

使用法

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

地図パラメータ

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

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Nassauの位置(バハマ内)
Nassau
Nassau
Nassau (バハマ)
{{Location map | Bahamas
| width   = 250
| lat_deg = 25.06
| lon_deg = -77.345
| label   = Nassau
}}

Location map many, using relief map (image1)

Location map/data/Bahamas/docの位置(バハマ内)
Nassau
Nassau
Freeport
Freeport
Matthew Town
Matthew Town
Three locations in the Bahamas
{{Location map many | Bahamas
| relief   = yes
| width    = 250
| caption  = Three locations in the Bahamas
| lat1_deg = 25.06
| lon1_deg = -77.345
| label1   = Nassau
| lat2_deg = 26.528
| lon2_deg = -78.697
| label2   = Freeport
| lat3_deg = 20.95
| lon3_deg = -73.667
| label3   = Matthew Town
| pos3     = top
}}

Location map+, using AlternativeMap

Location map/data/Bahamas/docの位置(バハマ内)
Nassau
Nassau
Freeport
Freeport
Matthew Town
Matthew Town
Three locations in the Bahamas
{{Location map+ | Bahamas
| AlternativeMap = Relief map of Bahamas.png
| width   = 250
| caption = Three locations in the Bahamas
| places  =
  {{Location map~ | Bahamas
  | lat_deg = 25.06
  | lon_deg = -77.345
  | label   = Nassau
  }}
  {{Location map~ | Bahamas
  | lat_deg = 26.528
  | lon_deg = -78.697
  | label   = Freeport
  }}
  {{Location map~ | Bahamas
  | lat_deg  = 20.95
  | lon_deg  = -73.667
  | label    = Matthew Town
  | position = top
  }}
}}

関連項目

Location mapテンプレート