metadatacatalogue
Description
Bundle provides metadata catalogue search functionality for the map.
Bundle configuration
No configuration is required, but there is two possible configurations:
{
"hideMetadataXMLLink" : true,
"hideMetaDataPrintLink": true
}
Setting hideMetadataXMLLink to true will hide metadata XML link (ISO 19139 XML -file).
Setting hideMetaDataPrintLink to true will hide print link.
Requests the bundle handles
Request | How does the bundle react |
MetadataSearchRequest | Make a metadata search query. |
Requests the bundle sends out
Request | Why/when |
`userinterface.AddExtensionRequest` | Extends the basic UI view. |
'Search.AddTabRequest' | Add metadata search tab to search bundle |
'catalogue.ShowMetadataRequest' | layer metadata info request |
'MapModulePlugin.MapLayerVisibilityRequest' | Sends out when user clicks the 'Show/Hide' link on a search results |
'RemoveMapLayerRequest' | Sends out when user clicks the 'Hide' link on a search results |
'AddMapLayerRequest' | Sends out when user clicks the 'Show' link on a search results |
'userinterface.RemoveExtensionRequest' | Unregister from UI in stop()-method |
'DrawTools.StartDrawingRequest' | Sends out when user clicks 'Show data coverage' link on a search results to draw a rectangle. |
'DrawTools.StopDrawingRequest' | Sends out when user stops data coverage rectangle drawing. |
Events the bundle listens to
Event | How does the bundle react |
MetadataSearchResultEvent | Show metadata search results |
Events the bundle sends out
Event | Why/when |
MetadataSearchResultEvent | Notifies that a metadata search has been performed and the result is accessible through the event |
Dependencies
Dependency | Linked from | Purpose |
jQuery |
Version 1.7.1 assumed to be linked on the page |
Used to create the UI |
Oskari divmanazer |
Expects to be present in the application setup |
For Tile/Flyout and other UI components |