Skip to content

Commit

Permalink
fix: gives bbox of Heidelberg region to restrict search result to thi…
Browse files Browse the repository at this point in the history
…s region only #386
  • Loading branch information
rizwan committed Aug 10, 2023
1 parent 18cc7a7 commit fe89162
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/support/map-data-services/ors-params-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,19 @@ const orsParamsParser = {
const args = {
text: placeName,
size: 8,
focus_point: [store.getters.mapCenter.lat, store.getters.mapCenter.lng]
focus_point: [store.getters.mapCenter.lat, store.getters.mapCenter.lng],
// as HEAL project is only for Heidelberg region, we restrict the place search to just this region
// heal: heidelberg bbox but long in height
boundary_bbox : [
[
49.32624080869595,
8.556461334228517
],
[
49.552723238903546,
8.80434036254883
]
]
}
// If is set to restrict the search to current mapBounds,
// then apply the restriction
Expand Down

0 comments on commit fe89162

Please sign in to comment.