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
Selected-featuredata bundle
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
Event | Where/why it's used |
---|---|
WFSFeaturesSelectedEvent | Event 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 |