Map layout and interface improvements (#8628)

* Map layout and interface improvements:
* Disable drag to rotate
* Add keyboard shortcut to delete items
* Hide unselect button when selection is empty
* Add display template setting
* Fixed fitData button behaviour

* Removed unused hoveredFeatureId

* Added translations

* Expose clearFilters to the layout.
This commit is contained in:
Oreille
2021-10-12 15:50:18 +02:00
committed by GitHub
parent 23a126b026
commit 475f6349f0
12 changed files with 90 additions and 38 deletions

View File

@@ -59,6 +59,10 @@ function createLayoutWrapper<Options, Query>(layout: LayoutConfig): Component {
type: Function as PropType<() => Promise<void>>,
default: null,
},
clearFilters: {
type: Function as PropType<() => void>,
default: null,
},
},
emits: WRITABLE_PROPS.map((prop) => `update:${prop}` as const),
setup(props, { emit }) {