コンテンツにスキップ

モジュール:Location map/data/USA Northeast/doc


アメリカ合衆国北東部 位置図
名称 アメリカ合衆国北東部
x ((50.0 + 124.03149777329222 * ((1.9694462586094064-($1 * pi / 180)) * sin(0.6010514667026994 * ($2 + 96) * pi / 180))) * 11.81 - 550.411) / 5.68
y 100 - ((100 - (50.0 + 1.6155950752393982 * 124.03149777329222 * ( 0.02613325650382181 - (1.3236744353715044 - (1.9694462586094064 - ($1 * pi / 180)) * cos(0.6010514667026994 * ($2 + 96) * pi / 180))))) * 7.31 - 303.76) / 3.68
画像 USA Midwest and Northeast.svg
Map of USA Northeast

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

使用法

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

地図パラメータ

  • name = アメリカ合衆国北東部
    モジュール名は地図説明文の既定値になります
  • x = ((50.0 + 124.03149777329222 * ((1.9694462586094064-($1 * pi / 180)) * sin(0.6010514667026994 * ($2 + 96) * pi / 180))) * 11.81 - 550.411) / 5.68
    経度に基いて地図上の位置を計算する式で、最西端は0、最東端は100になります。
  • y = 100 - ((100 - (50.0 + 1.6155950752393982 * 124.03149777329222 * ( 0.02613325650382181 - (1.3236744353715044 - (1.9694462586094064 - ($1 * pi / 180)) * cos(0.6010514667026994 * ($2 + 96) * pi / 180))))) * 7.31 - 303.76) / 3.68
    緯度に基いて地図上の位置を計算する式で、最北端は0、最南端は100になります。

Location mapテンプレート使用例

Location map, using default map (image)

ボストン (アメリカ合衆国北東部)
{{Location map | USA_Northeast
| width   = 250
| lat_deg = 42.366303
| lon_deg = -71.062228
| label   = [[ボストン]]
}}

Location map+, using default map (image)

Two locations in Northeast
{{Location map+ | USA Northeast
| width   = 250
| caption = Two locations in Northeast
| places  =
  {{Location map~ | USA Northeast
  | lat_deg = 42.358056
  | lon_deg = -71.063611
  | label   = [[ボストン]]
  }}
  {{Location map~ |  USA Northeast
  | lat_deg = 46.8
  | lon_deg =  -92.1
  | label   = [[ダルース (ミネソタ州)|ダルース]]
  }}
}}

関連項目

Location mapテンプレート