diff --git a/src/Map.js b/src/Map.js
index e57e8cb..1be6af5 100644
--- a/src/Map.js
+++ b/src/Map.js
@@ -68,7 +68,15 @@ function list_polygons(request, center, ratio,/* ind,*/ cb, selectedRoom)
*/return [(z[1]-center[1])/25, (z[0]-center[0])/25];
//}
})
- })).map((x) => {return cb(k)}>{k}})];
+ })).map((x) => {
+ //return cb(k)}>{k}
+
+ const color = selectedRoom === k ? 'red' : 'grey';
+
+ return cb(k)}>
+ {k}
+
+ })];
// })).map((x) => {tarace = tarace+1; return {k}Popup})];
}
return polygons;