Skip to content

Commit

Permalink
Hide interaction drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Nov 26, 2024
1 parent ca1fb42 commit 1fd9f33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions afrc/src/afrc/Search/SearchPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ onMounted(async () =>{
:basemaps="basemaps"
:overlays="overlays"
:sources="sources"
:include-drawer="false"
/>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const props = defineProps<{
overlays: MapLayer[];
basemaps: Basemap[];
sources: MapSource[];
includeDrawer: boolean;
}>();
const map: Ref<Map | null> = ref(null);
Expand Down Expand Up @@ -132,7 +133,7 @@ function updateSelectedDrawnFeature(feature: Feature) {
@drawn-feature-selected="updateSelectedDrawnFeature"
/>
<InteractionsDrawer
v-if="map"
v-if="map && includeDrawer"
:map="map"
:settings="settings"
:items="mapInteractionItems"
Expand Down

0 comments on commit 1fd9f33

Please sign in to comment.