Oskari API Documentation

Select event

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

MapTourEvent RPC

Notifies status of MapTourRequest

Parameters

Name Type Description Default value
status Object Object with status of MapTourRequest ``` { step steps } ```
location Object Object with current longitude and latitude ``` { lon, lat } ```
completed Boolean Returns true if tour completed
cancelled Boolean Returns true if tour cancelled

RPC

Event occurs after every step of MapMoveRequest

Event methods

getName()

Returns name of the event

getStatus()

Returns status of the event

getLocation()

Returns map location

getCompleted

Returns completion status of tour

getCancelled

Returns cancellation status of tour

Related api

  • MapTourRequest