Change colours for boundaries and buildings
This commit is contained in:
+1
-1
@@ -427,7 +427,7 @@ GIS.initLayers = async function(map) {
|
||||
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]);
|
||||
baseGroup.addTo(map);
|
||||
|
||||
@@ -42,7 +42,14 @@ Options.buildings = {
|
||||
color: '#222',
|
||||
opacity: 1,
|
||||
weight: 1.5,
|
||||
fillColor: '#5b5d5f',
|
||||
fillColor: '#5a5b5c',
|
||||
fillOpacity: 0.8
|
||||
};
|
||||
Options.boundaries = {
|
||||
color: '#222',
|
||||
opacity: 1,
|
||||
weight: 1.5,
|
||||
fillColor: '#b9bdc0',
|
||||
fillOpacity: 0.8
|
||||
};
|
||||
Options.cluster = {
|
||||
|
||||
Reference in New Issue
Block a user