Skip to content

Commit

Permalink
stadia updates
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Oct 29, 2024
1 parent 06fcca9 commit eec5834
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/js/isochrones.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ function init () {
target: 'map',
layers: [
new TileLayer({
source: new XYZ({
url: 'https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}@2x.png'
source: new ol.source.StadiaMaps({
layer: 'stamen_toner',
retina: true
})
}),
networkLayer
Expand Down
5 changes: 3 additions & 2 deletions src/js/rivers.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ function init () {
target: 'map',
layers: [
new TileLayer({
source: new XYZ({
url: 'https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}@2x.png'
source: new ol.source.StadiaMaps({
layer: 'stamen_toner',
retina: true
}),
opacity: 0.7
}),
Expand Down

0 comments on commit eec5834

Please sign in to comment.