Skip to content

Commit 0052414

Browse files
committed
Port to OL8
1 parent ef6572c commit 0052414

File tree

4 files changed

+129
-233
lines changed

4 files changed

+129
-233
lines changed

CHANGES.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
4+
# v 2.16 - 2023-09-03
5+
6+
* Changes
7+
* Port to OpenLayers 8
8+
39
# v 2.15.2 - 2023-08-28
410

511
* Changes

examples/rastersync.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @module examples.rastersync
33
*/
44
import olSourceTileWMS from 'ol/source/TileWMS.js';
5-
import olSourceStamen from 'ol/source/Stamen.js';
5+
import StadiaMaps from 'ol/source/StadiaMaps.js';
66
import OLCesium from 'olcs/OLCesium.ts';
77
import olLayerGroup from 'ol/layer/Group.js';
88
import olMap from 'ol/Map.js';
@@ -47,9 +47,9 @@ ol3d.setEnabled(true);
4747

4848
const addStamen = function() { // eslint-disable-line no-unused-vars
4949
ol2d.addLayer(new olLayerTile({
50-
source: new olSourceStamen({
50+
source: new StadiaMaps({
5151
opacity: 0.7,
52-
layer: 'watercolor'
52+
layer: 'stamen_watercolor'
5353
})
5454
}));
5555
};

0 commit comments

Comments
 (0)