モジュール:Location map/data/Saint Kitts and Nevis

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
セントクリストファー・ネイビス 位置図
名称 セントクリストファー・ネイビス
境界の経緯
17.438
-62.904 ←↕→ -62.497
17.078
地図の中心 北緯17度15分29秒 西経62度42分02秒 / 北緯17.258度 西経62.7005度 / 17.258; -62.7005
画像 Saint Kitts and Nevis location map.svg
画像1 Saint Kitts and Nevis location map Topographic.png
Map of Saint Kitts and Nevis

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

使用法

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

地図パラメータ

  • name = セントクリストファー・ネイビス
    モジュール名は地図説明文の既定値になります
  • bottom = 17.078
    地図最南端の緯度を十進角で表記します。
  • left = -62.904
    地図最西端の経度を十進角で表記します。
  • right = -62.497
    地図最東端の経度を十進角で表記します。

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Basseterreの位置(セントクリストファー・ネイビス内)
Basseterre
Basseterre
Basseterre (セントクリストファー・ネイビス)
{{Location map | Saint Kitts and Nevis
| width   = 250
| lat_deg = 17.3
| lon_deg = -62.73
| label   = Basseterre
}}

Location map many, using relief map (image1)

Location map/data/Saint Kitts and Nevisの位置(セントクリストファー・ネイビス内)
Basseterre
Basseterre
Charlestown
Charlestown
Two locations in Saint Kitts and Nevis
{{Location map many | Saint Kitts and Nevis
| relief   = yes
| width    = 250
| caption  = Two locations in Saint Kitts and Nevis
| lat1_deg = 17.3
| lon1_deg = -62.73
| label1   = Basseterre
| lat2_deg = 17.14
| lon2_deg = -62.63
| label2   = Charlestown
}}

Location map+, using AlternativeMap

Location map/data/Saint Kitts and Nevisの位置(セントクリストファー・ネイビス内)
Basseterre
Basseterre
Charlestown
Charlestown
Two locations in Saint Kitts and Nevis
{{Location map+ | Saint Kitts and Nevis
| AlternativeMap = Saint Kitts and Nevis location map Topographic.png
| width   = 250
| caption = Two locations in Saint Kitts and Nevis
| places  =
  {{Location map~ | Saint Kitts and Nevis
  | lat_deg = 17.3
  | lon_deg = -62.73
  | label   = Basseterre
  }}
  {{Location map~ | Saint Kitts and Nevis
  | lat_deg = 17.14
  | lon_deg = -62.63
  | label   = Charlestown
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'セントクリストファー・ネイビス',
	left = -62.904,
	right = -62.497,
	top = 17.438,
	bottom = 17.078,
	image = 'Saint Kitts and Nevis location map.svg',
	image1 = 'Saint Kitts and Nevis location map Topographic.png'
}