Class: WMSTime service:ngeoWMSTime

ngeo.WMSTime

new WMSTime($filter)

ngeo - WMS time service

Parameters:
Name Type Description
$filter angular.$filter

angular filter service.

Extends

Methods

formatWMSTimeParam(wmsTimeProperty, times, [opt_toUTC]opt)

ngeoWMSTime.prototype.formatWMSTimeParam - Format time to be used as a WMS Time query parameter

Parameters:
Name Type Attributes Description
wmsTimeProperty ngeox.TimeProperty

a wmstime property from a node

times {start : number, end : (number|undefined)

start & end time selected (in ms format)

[opt_toUTC] boolean= <optional>

to get the UTC date

Returns:
string

ISO-8601 date string ready to be used as a query parameter for a WMS request

getOptions(time)

Get options regarding the time property of a node;

Parameters:
Name Type Description
time ngeox.TimeProperty

the time property of a node

Inherited From:

getUTCDate(localDate)

Time.prototype.getUTCDate - Get UTC date from a local date object

Parameters:
Name Type Description
localDate Object

loacl date object in

Inherited From:
Returns:
Object

UTC date