Tone down the fps & disable dynamic time slider drag updates

This commit is contained in:
Starbeamrainbowlabs 2019-04-14 21:01:54 +01:00
parent 835768830c
commit 3a58dd29ae
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ class MapManager {
//this.layer_time.on("timeloading", console.log.bind(null, "timeloading")); //this.layer_time.on("timeloading", console.log.bind(null, "timeloading"));
this.layer_time_player = new L.TimeDimension.Player({ this.layer_time_player = new L.TimeDimension.Player({
transitionTime: 100, transitionTime: 500,
loop: false, loop: false,
startOver: true, startOver: true,
buffer: 10 // Default: 5 buffer: 10 // Default: 5
@ -84,7 +84,7 @@ class MapManager {
minSpeed: 1, minSpeed: 1,
speedStep: 0.25, speedStep: 0.25,
maxSpeed: 15, maxSpeed: 15,
timeSliderDragUpdate: true timeSliderDragUpdate: false
}); });
this.map.addControl(this.layer_time_control); this.map.addControl(this.layer_time_control);