cgxp.slider.WMSTimeSlider

Config Options

Configuration properties.

aggressive

Boolean If set to true, the time parameter is changed as soon as the thumb is moved. Otherwise when the thumb is released (default).

dateLabelFormat

String The format to use when formatting a label

delay

Number Time in milliseconds before setting the time value to the layer. If the value change again within that time, the original value is not set. Only applicable if aggressive is true.

layer

OpenLayers.Layer or GeoExt.data.LayerRecord The layer this slider changes the time of. (required)

Public Methods

Public methods.

WMSTimeSlider.formatLayerTimeLabel()
Parameters:dateDate
WMSTimeSlider.formatLayerTimeValue()
Parameters:timeNumber Timestamp

Returns the time value to pass to the layer formatted according to this.resolution

WMSTimeSlider.getClosestValue()
Parameters:timestampNumber A timestamp
Returns:Number The closest value known by the underlying server

Table Of Contents

This Page