import React from 'react'; import type { uiTypes } from '@opengeoweb/store'; interface LegendConnectProps { showMapId?: boolean; source?: uiTypes.Source; mapId?: string; multiLegend?: boolean; } /** * Legend component connected to the store displaying a legend for every layer shown on the active map Id * Please note that in order to use this and open/close the dialog, every map on the screen that should be able to show * a dialog should have the which is used to focus the correct map and open the dialog * * Expects the following props: * @param {boolean} showMapId (optional) showMapId: boolean - show the id of the map in the dialog title of which the legend is shown in te dialog * @param {uiTypes.Source} source (optional) source: uiTypes.Source - default is 'app', 'module' makes sure it will be shown on top of the module * ``` ``` */ declare const LegendConnect: React.FC; export default LegendConnect;