[問題] leaflet timedimension

作者: lucy35 (肥宅系社花)   2020-07-25 02:33:58
請問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
作者: LPH66 (-6.2598534e+18f)   2020-07-25 16:45:00
看了一下, 在中間 timeDimensionControlOptions 裡加上timeZones: ["Local"] 這個選項應該就好了吧整個參考裡面也只有這裡寫到 timezone

Links booklink

Contact Us: admin [ a t ] ucptt.com