diff --git a/examples/iceberg/App.vue b/examples/iceberg/App.vue index 4befdf0069..01ec40645c 100644 --- a/examples/iceberg/App.vue +++ b/examples/iceberg/App.vue @@ -45,6 +45,7 @@ import kernExtraIcons from 'virtual:kern-extra-icons' import { computed, ref } from 'vue' +import GfiConfig from './components/GfiConfig.vue' import IcebergMap from './components/IcebergMap.vue' import LayoutChooser from './components/LayoutChooser.vue' import TaskMenu from './components/TaskMenu.vue' @@ -55,6 +56,11 @@ const configTasks = [ label: 'Layout wählen', component: LayoutChooser, }, + { + id: 'configure-gfi', + label: 'GFI konfigurieren', + component: GfiConfig, + }, ] const tasks = computed(() => [ 'menu', diff --git a/examples/iceberg/components/GfiConfig.vue b/examples/iceberg/components/GfiConfig.vue new file mode 100644 index 0000000000..51b1dde222 --- /dev/null +++ b/examples/iceberg/components/GfiConfig.vue @@ -0,0 +1,86 @@ + + + diff --git a/examples/iceberg/components/IcebergMap.vue b/examples/iceberg/components/IcebergMap.vue index 5933cf3fa9..bd200b1f41 100644 --- a/examples/iceberg/components/IcebergMap.vue +++ b/examples/iceberg/components/IcebergMap.vue @@ -49,6 +49,7 @@ import pluginAttributions from '@polar/polar/plugins/attributions' import pluginExport from '@polar/polar/plugins/export' import pluginFilter from '@polar/polar/plugins/filter' import pluginFullscreen from '@polar/polar/plugins/fullscreen' +import pluginGfi from '@polar/polar/plugins/gfi' import pluginIconMenu from '@polar/polar/plugins/iconMenu' import pluginLayerChooser from '@polar/polar/plugins/layerChooser' import pluginPins from '@polar/polar/plugins/pins' @@ -130,6 +131,16 @@ watch(map, (map) => { layoutTag: 'TOP_LEFT', searchMethods: [], }), + pluginGfi({ + displayComponent: true, + layoutTag: 'TOP_LEFT', + layers: { + '1454': { + window: true, + geometry: true, + }, + }, + }), pluginPins({ coordinateSources: [{ plugin: 'addressSearch', key: 'chosenAddress' }], boundary: { diff --git a/examples/iceberg/components/TaskMenu.vue b/examples/iceberg/components/TaskMenu.vue index e75f306c9e..f05a7ef330 100644 --- a/examples/iceberg/components/TaskMenu.vue +++ b/examples/iceberg/components/TaskMenu.vue @@ -5,12 +5,12 @@