Skip to content

Commit

Permalink
CADENZA-37531 and CADENZA-38242:
Browse files Browse the repository at this point in the history
- Add overriding of locationFinder by mapExtent also explicitely in the code like it was before the story CADENZA-37531
  • Loading branch information
schmidt committed Nov 20, 2024
1 parent 1f8afe7 commit 5a2689c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cadenza.js
Original file line number Diff line number Diff line change
Expand Up @@ -1413,6 +1413,8 @@ function createParams({
} else if (validZoomTarget.type === 'locationFinder') {
mapExtent = undefined;
locationFinder = validZoomTarget.searchQuery;
} else if (validZoomTarget.type === 'default' && mapExtent) {
locationFinder = undefined;
}
}
return new URLSearchParams({
Expand Down

0 comments on commit 5a2689c

Please sign in to comment.