Oskari API Documentation

Select bundle

admindown-arrow
cataloguedown-arrow
  • metadata
    Generic functionality to display metadata from a CSW-service
  • metadatasearch
    Provides metadata catalogue search user-interface for an application.
frameworkdown-arrow
  • announcements
    Bundle for displaying announcements made with admin-announcements.
  • Core services
    Provided by the framework
  • layeranalytics
    Map layer problem tracker
  • layerlist
    A layer listing functionality for the geoportal.
  • mydata
    Provides generic container for listing user data and offers other functionalities a way to present user-specific information.
  • Map Publisher 2
    Allows creation of embedded maps
  • RPC
  • Search
    Provides basic search functionality without any UI
  • Selected-featuredata
    Allows infobox opening in new flyout
  • statehandler
    History functionality and state saving.
  • usagetracker
    Pings the server when any of the configured events occur.
mappingdown-arrow
statisticsdown-arrow
  • statsgrid2016
    Statistics data display. This will replace the statsgrid bundle specification when the implementation has the comparable functionalities as the current one. The bundle depends on mapstats-bundle that provides support for statslayer layertype.
uidown-arrow

heatmap

Description

Adds heatmap functionality to layers configured to support it (WMS-layers only at the moment). Configuration is done by adding the following information to a layers JSON:

{
    attributes : {
      geometryProperty : "the_geom",
      layerWorkspace : "ows",
      heatmap : ["properties to use", "as heatmap weighted property"]
    }
}

SelectedLayers bundle will show heatmap-enabled layers with an additional "Heatmap" tool in the layer frame to access the functionality. Note! Generated SLD expects Geoserver as the WMS-service.

Screenshot

screenshot

Bundle configuration

No configuration is required.

Bundle state

No statehandling has been implemented.

Requests the bundle handles

This bundle doesn't handle any requests.

Requests the bundle sends out

This bundle doesn't send out any requests.

Events the bundle listens to

EventWhy/when
MapLayerEvent Adds heatmap tool to layer
AfterMapLayerRemoveEvent Removes layer from the map
AfterChangeMapLayerOpacityEvent Changes map layer opacity

Events the bundle sends out

This bundle doesn't send out any events.

Dependencies

DependencyLinked fromPurpose
jQuery Linked in portal theme Used to create the component UI from begin to end
Spectrum Color Picker Heatmap bundle Used to select colors for heatmap