From fe3853a8d7a1c30e21edd0a300afa20557134458 Mon Sep 17 00:00:00 2001 From: Gabriel Dehame Date: Wed, 16 Nov 2022 16:14:59 +0100 Subject: [PATCH] mise sous commentaire des affichages des noms --- src/Map.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Map.js b/src/Map.js index a0f3c95..d955779 100644 --- a/src/Map.js +++ b/src/Map.js @@ -48,7 +48,7 @@ function min_max(request) function list_polygons(request, center, ratio, ind) { let polygons = []; - let tarace = 0; + //let tarace = 0; for (const k in request) { polygons = [...polygons, ((request[k]).map((y) => { @@ -66,7 +66,8 @@ function list_polygons(request, center, ratio, ind) return [(z[1]-center[1])/25, (z[0]-center[0])/25]; } }) - })).map((x) => {tarace = tarace+1; return {k}Popup})]; + })).map((x) => {return Popup})]; +// })).map((x) => {tarace = tarace+1; return {k}Popup})]; } return polygons; }