Upgrade dependencies, including OL7.1→8.2

This commit is contained in:
Chandler Swift 2024-02-02 03:02:13 -06:00
parent 77b4f845ae
commit 8d26ccf5c4
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
2 changed files with 190 additions and 720 deletions

View file

@ -1,6 +1,6 @@
import TileLayer from 'ol/layer/Tile'; import TileLayer from 'ol/layer/Tile';
import OSM from 'ol/source/OSM'; import OSM from 'ol/source/OSM';
import Stamen from 'ol/source/Stamen.js'; import StadiaMaps from 'ol/source/StadiaMaps.js';
import chandlerLayer from './chandler/layer.js'; import chandlerLayer from './chandler/layer.js';
import amtrakLayer from './amtrak/layer.js'; import amtrakLayer from './amtrak/layer.js';
@ -42,16 +42,16 @@ const layerCategories = [
{ {
name: "Stamen Watercolor (Raster)", name: "Stamen Watercolor (Raster)",
layer: new TileLayer({ layer: new TileLayer({
source: new Stamen({ source: new StadiaMaps({
layer: 'watercolor', layer: 'stamen_watercolor',
}), }),
}), }),
}, },
{ {
name: "Stamen Toner (Raster)", name: "Stamen Toner (Raster)",
layer: new TileLayer({ layer: new TileLayer({
source: new Stamen({ source: new StadiaMaps({
layer: 'toner', layer: 'stamen_toner',
}), }),
}), }),
}, },

900
package-lock.json generated

File diff suppressed because it is too large Load diff