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

Selected-featuredata

Allows infobox opening in new flyout

Description

This Bundle provides functionality that opens infobox content into flyout. User can click several features from the map and this bundle collects all data into one flyout. Bundle uses Tab module into different layers and Accordion module for different features. User can show features on map later on.

Screenshot

Start using infobox flyout

start

Selected-featuredata bundle

map

Bundle configuration

No configuration needed

Bundle state

No statehandling has been implemented.

Requests the bundle sends out

Request Where/why it's used
userinterface.AddExtensionRequest Restore flyout if oskari-minimized.
userinterface.RemoveExtensionRequest Unregister from the UI in stop()-method.
AddMapLayerRequest If any layer is marked for promotion, the user can add it from the publisher. When the publisher is closed, adds any layers that were removed because user didn't have publish rights.
MapMoveRequest Move map to certain place by x and y
MapModulePlugin.AddMarkerRequest Adds marker on map by x and y.
MapModulePlugin.RemoveMarkersRequest Removes marker from map.
RemoveMapLayerRequest If promoted layer is added via publisher, it can be removed as well. Also removes layers from selection that the user can't publish
userinterface.UpdateExtensionRequest Requests close on the flyout when publisher is closed and close to any other flyout when the publisher is opened.
AddLayerListFilterRequest Requests add publishable filter to layerselector2 bundle.

Events the bundle sends out

EventWhere/why it's used
WFSFeaturesSelectedEventEvent is for wfs highlight

Events the bundle listens to

Event How does the bundle react
AfterMapLayerAddEvent Updates the flyout to reflect current maplayer selections
AfterMapLayerRemoveEvent Updates the flyout to reflect current maplayer selections
MapClickedEvent Removes tabs from flyout if user has selected "collect only once"
userinterface.ExtensionUpdatedEvent Determines if the layer was closed or opened and enables/disables preview view accordingly

Dependencies

Dependency Linked from Purpose
jQuery Linked in portal theme Used to create the component UI from begin to end
Oskari divmanazer Uses flyout minify from divmanazer Needed for flyout functionality