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

myplacesimport

Description

This bundle allows the user to import and save their own datas.

Bundle configuration

{
    "name": "MyPlacesImport",
    "sandbox": "sandbox",
    "flyoutClazz": "Oskari.mapframework.bundle.myplacesimport.Flyout",
    "maxFileSizeMb": 10
}
  • name is the bundle name
  • sandbox is the used sandbox name
  • flyoutClazz is the used flyout class
  • maxFileSizeMb is the maximum upload file size in Mb

Requests the bundle sends out

Request Where/why it's used
userinterface.AddExtensionRequest Register as part of the UI in start()-method
`Toolbar.AddToolButtonRequest` Requests the my places import tool to be added to the toolbar
`userinterface.UpdateExtensionRequest`Extends the basic UI view.

Dependencies

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