看板 Ajax 關於我們 聯絡資訊
請問timedimension中有可以不要顯示utc 時間的參數嗎? 他本身有utc 時間跟當地時間 當地時間是正確的 http://i.imgur.com/DrdIpP7.jpg
像是圖中圈起來那樣(為utc時間) 因為顯示utc 時間會跟真實的時間有差距,所以不想顯示在上面 我寫的code 參考這個的寫法: http://jsfiddle.net/bielfrontera/5afucs89/ 裡面參數都一樣 timedimension 參考網址: https://github.com/socib/Leaflet.TimeDimension#ltimedimensionplayer ----- Sent from JPTT on my OPPO CPH1701. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.139.4.88 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1595615643.A.993.html
LPH66: 看了一下, 在中間 timeDimensionControlOptions 裡加上 07/25 16:45
LPH66: timeZones: ["Local"] 這個選項應該就好了吧 07/25 16:45
LPH66: 整個參考裡面也只有這裡寫到 timezone 07/25 16:45
可以了 謝謝 ※ 編輯: lucy35 (223.139.4.88 臺灣), 07/25/2020 17:08:53