モジュール:Location map/data/Trinidad and Tobago

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
トリニダード・トバゴ 位置図
名称 トリニダード・トバゴ
境界の経緯
11.45
-62.05 ←↕→ -60.4
9.85
地図の中心 北緯10度39分00秒 西経61度13分30秒 / 北緯10.65度 西経61.225度 / 10.65; -61.225
画像 Trinidad and Tobago adm location map.svg
画像1 Trinidad and Tobago rel location map.svg
Map of Trinidad and Tobago

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

使用法

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

地図パラメータ

  • name = トリニダード・トバゴ
    モジュール名は地図説明文の既定値になります
  • bottom = 9.85
    地図最南端の緯度を十進角で表記します。
  • left = -62.05
    地図最西端の経度を十進角で表記します。
  • right = -60.4
    地図最東端の経度を十進角で表記します。

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Port of Spainの位置(トリニダード・トバゴ内)
Port of Spain
Port of Spain
Port of Spain (トリニダード・トバゴ)
{{Location map | Trinidad and Tobago
| width   = 250
| lat_deg = 10.667
| lon_deg = -61.517
| label   = Port of Spain
}}

Location map many, using relief map (image1)

Location map/data/Trinidad and Tobagoの位置(トリニダード・トバゴ内)
Port of Spain

Port of Spain
Scarborough
Scarborough
Two locations in Trinidad and Tobago
{{Location map many | Trinidad and Tobago
| relief    = yes
| width     = 250
| caption   = Two locations in Trinidad and Tobago
|
| lat1_deg  = 10.667
| lon1_deg  = -61.517
| label1    = <br/>Port of Spain
| position1 = left
| mark1     = yellow_pog.svg
|
| lat2_deg  = 11.183
| lon2_deg  = -60.738
| label2    = Scarborough
| position2 = bottom
| mark2     = yellow_pog.svg
}}

Location map+, using AlternativeMap

Location map/data/Trinidad and Tobagoの位置(トリニダード・トバゴ内)
Port of Spain

Port of Spain
Scarborough
Scarborough
Two locations in Trinidad and Tobago
{{Location map+ | Trinidad and Tobago
| AlternativeMap = Trinidad and Tobago location map Topographic.png
| width   = 250
| caption = Two locations in Trinidad and Tobago
| places  =
  {{Location map~ | Trinidad and Tobago
  | lat_deg  = 10.667
  | lon_deg  = -61.517
  | label    = <br/>Port of Spain
  | position = left
  | mark     = yellow_pog.svg
  }}
  {{Location map~ | Trinidad and Tobago
  | lat_deg  = 11.183
  | lon_deg  = -60.738
  | label    = Scarborough
  | position = bottom
  | mark     = yellow_pog.svg
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'トリニダード・トバゴ',
	top = 11.45,
	bottom = 9.85,
	left = -62.05,
	right = -60.4,
	image = 'Trinidad and Tobago adm location map.svg',
	image1 = 'Trinidad and Tobago rel location map.svg'
}