From a2112e0bf3e23a40b4f0ee1bc483837145443076 Mon Sep 17 00:00:00 2001
From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com>
Date: Fri, 9 Apr 2021 10:48:51 +0200
Subject: [PATCH] increase of limit for address search

---
 src/structures/services/structures.service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/structures/services/structures.service.ts b/src/structures/services/structures.service.ts
index c9f08354f..71b6bb189 100644
--- a/src/structures/services/structures.service.ts
+++ b/src/structures/services/structures.service.ts
@@ -162,7 +162,7 @@ export class StructuresService {
     const req =
       'https://download.data.grandlyon.com/geocoding/photon-bal/api?q=' +
       data.searchQuery +
-      '&lat=45.75&lon=4.85&lang=fr&limit=5&osm_tag=:!construction&osm_tag=:!bus_stop';
+      '&lat=45.75&lon=4.85&lang=fr&limit=50&osm_tag=:!construction&osm_tag=:!bus_stop';
     return new Promise((resolve, reject) => {
       this.httpService
         .request({
-- 
GitLab