diff --git a/frontend/App.vue b/frontend/App.vue
index f1533fe..8f88e8b 100644
--- a/frontend/App.vue
+++ b/frontend/App.vue
@@ -431,7 +431,7 @@
item type counts |
item detail |
item tags |
- nearby OSM candidates
+ nearby OSM candidates
@@ -663,6 +663,7 @@ export default {
mode: undefined,
current_hit: undefined,
recent_search: undefined,
+ pad_amount: 1.0,
};
},
computed: {
@@ -845,6 +846,9 @@ export default {
bounds_param() {
return 'bounds=' + this.map.getBounds().toBBoxString();
},
+ pad_bounds_param() {
+ return 'bounds=' + this.map.getBounds().pad(this.pad_amount).toBBoxString();
+ },
close_edit_list() {
this.view_edits = false;
if (this.upload_state != 'done') return;
@@ -1133,7 +1137,7 @@ export default {
});
var item_osm_candidates_url = `${this.api_base_url}/api/1/item/${qid}/candidates`;
- var bounds = this.map.getBounds();
+ var bounds = this.map.getBounds().pad(this.pad_amount);
var params = { bounds: bounds.toBBoxString() };
axios.get(item_osm_candidates_url, { params: params }).then((response) => {