@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
13 lines (12 loc) • 529 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
/**
* Known Functionalities which are allowed in <code>GMFTheme.functionalities</code> and are published to
* <code>State.functionalities</code>. Subscribe a Handler to get notified when a Theme which such a Functionality is
* selected by the User (e.g., Change the Basemap):
* <code>
* GirafeHTMLElement.subscribe('functionalities.default_basemap', (oldValue: string[], newValue: string[]) => {
* ...
* });
* </code>
*/
export const KNOWN_FUNCTIONALITIES = ['default_basemap'];