Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

颱風資訊頁面 #10

Description

@mapleegg

第一階段

各國發表颱風預測

-01

颱風預測網址

http://www.typhoon2000.ph/multi/data/颱風英文名字.TXT

目前需要再修改

  1. 各過預測路徑,滑鼠滑過,不用變粗。 #11
  2. 過去路徑 #12
  3. 颱風第一階段:資訊看板大小 #13
  4. 精簡資訊看板 #14

其他相關格式:

  1. 每日路徑的框框規範,距離當天各國預測點最左下與最右上,各往外推出30px,繪出框框。
  2. 每日路徑的日期位置,日期物件知中點,對準1. 的框框的左下角,往下推出30px。
  3. 颱風警報燈號色碼:
  • 海上颱風警報:OFF #595757 ON #5681a2
  • 陸上颱風警報:OFF #595757 ON #ab6866
  1. 颱風強度對照顏色(資訊看板中、每天颱風預測路徑中的颱風強度):
  • 輕度 #7bb6d3
  • 中度 #cb9672
  • #ab6866
  1. 資訊看板中,對台灣影響程度對照顏色
  • #888888
  • #7bb6d3
  • #cb9672
  • #ab6866

第二階段

颱風警報發佈

_ -01

資料來源

中央氣象局,後端會開出API可接。

規則:

  1. 依照氣象局資料,顯示出目前颱風位置、暴風圈大小、預測位置等。
  2. 動畫跟各國預測時相同或相近。

相關規範:

  1. 每一個經緯度,為62px*62px。
  2. 此頁面之經緯度為:
  • 左上:東經113度、北緯30.532258
  • 左下:東經113度、北緯16
  • 右上:東經138.80645度、30.532258
  • 右下:東經138.80645度、北緯16
  1. 每一公里 = 0.558循環小數px

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions