Oskari API Documentation

Select event

admindown-arrow
cataloguedown-arrow
frameworkdown-arrow
mappingdown-arrow
statisticsdown-arrow
uidown-arrow

TimeChangedEvent RPC

Notifies of changed time

Parameters

(* means the parameter is required)

NameTypeDescriptionDefault value
\* timeStringtime formatted as HH:mm
\* date Stringdate formatted as DD/mm

RPC

Event occurs after SetTimeRequest

Event methods

getName()

Returns name of the event

getTime()

Returns time of the event

getDate()

Returns date of the event

getParams()

Returns all parameters of the event as an object:

{
    'date': this.getDate(),
    'time': this.getTime()
};

Related api

  • SetTimeRequest