Skip to content

worldwind-ui API / react-worldwind / TimeSlider

Function: TimeSlider() ​

TimeSlider(__namedParameters): Element

Defined in: react/src/ui/TimeSlider.tsx:62

A slider (with play/pause) that steps time-enabled WMS and WMTS layers through their time dimension, as read from the capabilities document or given through props.

Parameters ​

__namedParameters ​

TimeSliderProps

Returns ​

Element

Example ​

tsx
<WmsLayer service="https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi" layerNames="MODIS_Terra_CorrectedReflectance_TrueColor" fromCapabilities />
<TimeSlider position="bottom-center" />

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.