Creates a new instance of the WxTimeControl
class.
The delay in milliseconds between time steps.
Optional
wxsource: WxTileSourceThe optional WxTileSource
to interact with. If not provided, no interaction will occur.
Private
Readonly
_divPrivate
Readonly
buttonReadonly
delayThe delay in milliseconds between time steps.
Callback function triggered when the time changes.
The selected time as a string.
Private
Readonly
timesPrivate
Optional
wxsourceThe optional WxTileSource
to interact with. If not provided, no interaction will occur.
Returns an object to extend map controls in leaflet.
The object containing onAdd
and onRemove
methods.
Generated using TypeDoc
Controls the time animation for a given
WxTileSource
instance.The
WxTimeControl
class is responsible for displaying and controlling the time-based interactions with the tile source, allowing users to start/stop animations, select times, and manage time settings.