Darker basemap for radar
This commit is contained in:
parent
c003305af0
commit
af0dc6df4d
4 changed files with 9 additions and 2 deletions
|
|
@ -94,6 +94,7 @@ class Radar extends WeatherDisplay {
|
||||||
maxZoom: 10,
|
maxZoom: 10,
|
||||||
minZoom: 1,
|
minZoom: 1,
|
||||||
crossOrigin: true,
|
crossOrigin: true,
|
||||||
|
className: 'radar-base-layer',
|
||||||
});
|
});
|
||||||
|
|
||||||
this.baseLayer.addTo(this.map);
|
this.baseLayer.addTo(this.map);
|
||||||
|
|
@ -127,6 +128,7 @@ class Radar extends WeatherDisplay {
|
||||||
crossOrigin: true,
|
crossOrigin: true,
|
||||||
updateWhenIdle: false,
|
updateWhenIdle: false,
|
||||||
keepBuffer: 2,
|
keepBuffer: 2,
|
||||||
|
className: 'radar-precip-layer',
|
||||||
});
|
});
|
||||||
|
|
||||||
layer.addTo(this.map);
|
layer.addTo(this.map);
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,11 @@
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.radar-base-layer,
|
||||||
|
.radar-base-layer .leaflet-tile {
|
||||||
|
filter: grayscale(0.75) brightness(0.52) contrast(1.15) saturate(0.45);
|
||||||
|
}
|
||||||
|
|
||||||
.leaflet-control-container,
|
.leaflet-control-container,
|
||||||
.leaflet-control-attribution,
|
.leaflet-control-attribution,
|
||||||
.leaflet-control-zoom {
|
.leaflet-control-zoom {
|
||||||
|
|
|
||||||
2
server/styles/ws.min.css
vendored
2
server/styles/ws.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue