Change colours for boundaries and buildings

This commit is contained in:
2026-09-11 18:36:59 +02:00
parent 2dd98daba7
commit 7293ac348d
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ GIS.initLayers = async function(map) {
attribution: '© Mapbox' attribution: '© Mapbox'
}); });
let boundaries = await this.loadGeoJSON('confini.geojson', {}, false); let boundaries = await this.loadGeoJSON('confini.geojson', Options.boundaries, false);
const baseGroup = new L.LayerGroup([osmap]); const baseGroup = new L.LayerGroup([osmap]);
baseGroup.addTo(map); baseGroup.addTo(map);
+8 -1
View File
@@ -42,7 +42,14 @@ Options.buildings = {
color: '#222', color: '#222',
opacity: 1, opacity: 1,
weight: 1.5, weight: 1.5,
fillColor: '#5b5d5f', fillColor: '#5a5b5c',
fillOpacity: 0.8
};
Options.boundaries = {
color: '#222',
opacity: 1,
weight: 1.5,
fillColor: '#b9bdc0',
fillOpacity: 0.8 fillOpacity: 0.8
}; };
Options.cluster = { Options.cluster = {