Closed julste closed 3 years ago
You need to add the player to your control.
var timeDimensionControl = new L.Control.TimeDimensionCustom({
autoPlay: false,
player: player
});
Thanks for the fast reply!
It works now :)
But how can I hide the player control then?
Never mind, I had just to comment out the timeDimensionControl.
Thank you very much
Hi there, I'm using a WMS tile layer and added it to my map like this:
Then added also a custom player like this:
var player = new L.TimeDimension.Player({}, map.timeDimension);
Unfortunately it is not possible to call the start, stop functions from the player object:
player.start()
Using a custom time dimension instead works well:
My question is: Is it possible to call the player functions from outside using a WMS tile layer?
Thanks in advance!