Move filterByBounds to map, show only when panel is open
All checks were successful
Build Docker Image / build (push) Successful in 3m46s
All checks were successful
Build Docker Image / build (push) Successful in 3m46s
This commit is contained in:
@@ -9,9 +9,11 @@
|
||||
:items="currentSelectionItems"
|
||||
:hovered-id="hoveredItemId ?? undefined"
|
||||
:show-panel="showPanel"
|
||||
:filter-by-bounds="filterByBounds"
|
||||
:related-points="relatedPoints"
|
||||
@select="onMapSelect"
|
||||
@bounds-change="onBoundsChange"
|
||||
@update:filter-by-bounds="filterByBounds = $event"
|
||||
>
|
||||
<!-- Panel slot - shows selection list OR info OR quote results -->
|
||||
<template #panel>
|
||||
@@ -25,12 +27,10 @@
|
||||
:loading="selectionLoading"
|
||||
:loading-more="selectionLoadingMore"
|
||||
:has-more="selectionHasMore && !filterByBounds"
|
||||
:filter-by-bounds="filterByBounds"
|
||||
@select="onSelectItem"
|
||||
@close="onClosePanel"
|
||||
@load-more="onLoadMore"
|
||||
@hover="onHoverItem"
|
||||
@update:filter-by-bounds="filterByBounds = $event"
|
||||
/>
|
||||
|
||||
<!-- Info mode: show detailed info about selected entity -->
|
||||
|
||||
Reference in New Issue
Block a user