Oskari API Documentation

Select event

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

StatsGrid.RegionsetChangedEvent

Notifies regionset change

Description

Used to notify that the regionset has changed in statsgrid and any region listing or region specific data should be updated to use the selected regionset and it's regions. Note that both current and previous regionsets can be undefined.

Parameters

(* means the parameter is required)

Name Type Description Default value
regionset Number id for the selected regionset undefined
previous Number id for the previously selected regionset undefined

Event methods

getName()

Returns event name

getRegionset()

Returns id for the selected regionset. Note! Value can be undefined

getPrevious()

Returns id for the previously selected regionset. Note! Value can be undefined