Skip to content

Commit 76a008d

Browse files
gerome.perrinlgourdin
authored andcommitted
[improve] enable the 'filter with map scale' button
1 parent edfaca1 commit 76a008d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/itinevert/ItinevertResultView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
:highlighted-document="highlightedDocument"
108108
:open-in-new-tab="true"
109109
@highlight-document="highlightedDocument = arguments[0]"
110+
show-filter-control
110111
show-center-on-geolocation
111112
show-recenter-on
112113
/>
@@ -311,7 +312,7 @@ export default {
311312
};
312313
313314
let query = itinevertService.enhanceQuery(this.baseQuery, newQuery);
314-
if (this.isochroneBbox !== '') {
315+
if (this.isochroneBbox !== '' && !query.bbox) {
315316
query.bbox = this.isochroneBbox;
316317
}
317318
this.lastQuery = query;

0 commit comments

Comments
 (0)