Upgrade dependencies, including OL7.1→8.2
This commit is contained in:
parent
77b4f845ae
commit
8d26ccf5c4
|
@ -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
900
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue