diff --git a/src/Map.js b/src/Map.js
index 3b13f73..a0f3c95 100644
--- a/src/Map.js
+++ b/src/Map.js
@@ -4,7 +4,9 @@ import { Popup } from 'react-leaflet/Popup';
import {Polygon} from 'react-leaflet/Polygon';
import { LayersControl } from 'react-leaflet/LayersControl'
import { LayerGroup } from 'react-leaflet/LayerGroup'
+import { Tooltip } from 'react-leaflet/Tooltip'
import React from 'react';
+import L from 'leaflet';
import request2 from "./M-GN1-2.json"
import request3 from "./M-GN1-3.json"
import request4 from "./M-GN1-4.json"
@@ -46,6 +48,7 @@ function min_max(request)
function list_polygons(request, center, ratio, ind)
{
let polygons = [];
+ let tarace = 0;
for (const k in request)
{
polygons = [...polygons, ((request[k]).map((y) => {
@@ -63,7 +66,7 @@ function list_polygons(request, center, ratio, ind)
return [(z[1]-center[1])/25, (z[0]-center[0])/25];
}
})
- })).map((x) => {return Popup})];
+ })).map((x) => {tarace = tarace+1; return {k}Popup})];
}
return polygons;
}