モジュール:Location map/data/Seattle WA Downtown

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]


シアトルのダウンタウン 位置図
名称 シアトルのダウンタウン
境界の経緯
47.6188
-122.3609 ←↕→ -122.3141
47.5909
地図の中心 北緯47度36分17秒 西経122度20分15秒 / 北緯47.60485度 西経122.3375度 / 47.60485; -122.3375
画像 Seattle, WA - Downtown - OpenStreetMap.png
画像1 Seattle, WA - Downtown - OpenStreetMap.png
Map of downtown Seattle

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

使用法

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

地図パラメータ

  • name = シアトルのダウンタウン
    モジュール名は地図説明文の既定値になります
  • bottom = 47.5909
    地図最南端の緯度を十進角で表記します。
  • left = -122.3609
    地図最西端の経度を十進角で表記します。
  • right = -122.3141
    地図最東端の経度を十進角で表記します。

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

International District (シアトルのダウンタウン)
{{Location map | Seattle WA Downtown
 | width   = 250
 | lat_deg = 47.5975
 | lon_deg = -122.320822
 | label   = [[Chinatown-International District, Seattle|International District]]
}}

Location map many

Two locations in downtown Seattle
{{Location map many | Seattle WA Downtown
 | width    = 250
 | caption  = Two locations in downtown Seattle
 | lat1_deg = 47.5975
 | lon1_deg = -122.320822
 | label1   = [[Chinatown-International District, Seattle|International District]]
 | lat2_deg = 47.608398
 | lon2_deg = -122.332935
 | label2   = [[IBM Building (Seattle)|IBM Building]]
 | mark2    = Maki-city-15.svg
 | mark2size= 16
 | position2= bottom
}}

Location map+

Three locations in downtown Seattle
{{Location map+ | USeattle WA Downtown
| width   = 200
| caption = Three locations in downtown Seattle
| places  =
  {{Location map~ | Seattle WA Downtown
   | lat_deg = 47.5975
   | lon_deg = -122.320822
   | label   = [[Chinatown-International District, Seattle|International District]]
   | position= top
  }}
  {{Location map~ | Seattle WA Downtown
   | lat_deg = 47.608398
   | lon_deg = -122.332935
   | label   = [[IBM Building (Seattle)|IBM Building]]
   | mark    = Maki-city-15.svg
   | marksize= 16
   | position= 
  }}
  {{Location map~ | Seattle WA Downtown
   | lat_deg = 47.5952
   | lon_deg = -122.3316
   | label   = [[CenturyLink Field]]
   | mark    = Stadium - The Noun Project.svg
   | marksize= 16
   | position= left
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'シアトルのダウンタウン',
    top            = 47.6188,
    bottom         = 47.5909,
    left           = -122.3609,
    right          = -122.3141,
    image = 'Seattle, WA - Downtown - OpenStreetMap.png',
	image1 = 'Seattle, WA - Downtown - OpenStreetMap.png'
}