[問題] leaflet timedimension

看板Ajax作者時間3年前 (2020/07/25 02:34), 3年前編輯推噓1(102)
留言3則, 1人參與, 3年前最新討論串1/1
請問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

07/25 16:45, 3年前 , 1F
看了一下, 在中間 timeDimensionControlOptions 裡加上
07/25 16:45, 1F

07/25 16:45, 3年前 , 2F
timeZones: ["Local"] 這個選項應該就好了吧
07/25 16:45, 2F

07/25 16:45, 3年前 , 3F
整個參考裡面也只有這裡寫到 timezone
07/25 16:45, 3F
可以了 謝謝 ※ 編輯: lucy35 (223.139.4.88 臺灣), 07/25/2020 17:08:53
文章代碼(AID): #1V6ocRcJ (Ajax)
文章代碼(AID): #1V6ocRcJ (Ajax)