chore: add link to DWD attribution and move attribution to top
This commit is contained in:
parent
bd861c69cf
commit
cc38bc541a
4
index.js
4
index.js
|
@ -20,7 +20,9 @@ const dwd = new TileLayer({
|
||||||
extent,
|
extent,
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
source: new TileWMS({
|
source: new TileWMS({
|
||||||
attributions: ["Deutscher Wetterdienst"],
|
attributions: [
|
||||||
|
'<a href="https://www.dwd.de/copyright">Deutscher Wetterdienst</a>',
|
||||||
|
],
|
||||||
url: "https://maps.dwd.de/geoserver/ows?version=1.3.0",
|
url: "https://maps.dwd.de/geoserver/ows?version=1.3.0",
|
||||||
params: {
|
params: {
|
||||||
LAYERS: "dwd:Niederschlagsradar",
|
LAYERS: "dwd:Niederschlagsradar",
|
||||||
|
|
|
@ -71,6 +71,15 @@ body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ol-attribution {
|
||||||
|
bottom: unset !important;
|
||||||
|
top: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ol-attribution.ol-uncollapsible {
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 800px) {
|
@media only screen and (min-width: 800px) {
|
||||||
#time {
|
#time {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
Loading…
Reference in New Issue