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

Printout

Description

Manages settings panel when user has entered to the print mode.

Screenshot

screenshot

Bundle configuration

No configuration is required. Optional configuration is available for customized scale selection.

{
    "scaleSelection": true,
    "scales": [500,1000,10000,25000,50000,100000]
}
  • scaleSelection is to show scale selection (defaults to false)
  • scales define custom scales for scale selection, if not defined defaults to map scales

Requests the bundle handles

RequestHow does the bundle react
printout.PrintMapRequestPrints map with given selections

Requests the bundle sends out

RequestWhy/when
DisableMapKeyboardMovementRequestDisables keyboard listener for map movements
EnableMapKeyboardMovementRequestEnables keyboard listener for map movements
userinterface.UpdateExtensionRequestBundle closes all flyouts when entering printing mode and its own flyouts when user clicks cancel button.

Events the bundle listens to

EventHow does the bundle react
AfterMapMoveEventRefresh print preview

Dependencies

DependencyLinked fromPurpose
jQueryLinked in portal theme Used to create the component UI from begin to end