diff --git a/examples/bing-maps.html b/examples/bing-maps.html index ac66ba1fe9..a3e7b5b48f 100644 --- a/examples/bing-maps.html +++ b/examples/bing-maps.html @@ -12,9 +12,8 @@ cloak:
diff --git a/examples/bing-maps.js b/examples/bing-maps.js index ccf12d0722..b0ecb7c2be 100644 --- a/examples/bing-maps.js +++ b/examples/bing-maps.js @@ -5,12 +5,11 @@ import BingMaps from '../src/ol/source/BingMaps.js'; const styles = [ - 'Road', 'RoadOnDemand', 'Aerial', - 'AerialWithLabels', - 'collinsBart', - 'ordnanceSurvey' + 'AerialWithLabelsOnDemand', + 'CanvasDark', + 'OrdnanceSurvey' ]; const layers = []; let i, ii; diff --git a/examples/feature-move-animation.js b/examples/feature-move-animation.js index b9cc4e001c..1d8d7bc088 100644 --- a/examples/feature-move-animation.js +++ b/examples/feature-move-animation.js @@ -133,7 +133,7 @@ const map = new Map({ layers: [ new TileLayer({ source: new BingMaps({ - imagerySet: 'AerialWithLabels', + imagerySet: 'AerialWithLabelsOnDemand', key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5' }) }), diff --git a/examples/layer-spy.js b/examples/layer-spy.js index 2048b46734..d86110fdc4 100644 --- a/examples/layer-spy.js +++ b/examples/layer-spy.js @@ -7,7 +7,7 @@ import BingMaps from '../src/ol/source/BingMaps.js'; const key = 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5'; const roads = new TileLayer({ - source: new BingMaps({key: key, imagerySet: 'Road'}) + source: new BingMaps({key: key, imagerySet: 'RoadOnDemand'}) }); const imagery = new TileLayer({ diff --git a/examples/mobile-full-screen.js b/examples/mobile-full-screen.js index c01ce3b9e8..d1a3071bbe 100644 --- a/examples/mobile-full-screen.js +++ b/examples/mobile-full-screen.js @@ -15,7 +15,7 @@ const map = new Map({ new TileLayer({ source: new BingMaps({ key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5', - imagerySet: 'Road' + imagerySet: 'RoadOnDemand' }) }) ], diff --git a/examples/preload.js b/examples/preload.js index 777b83cae6..5d15402941 100644 --- a/examples/preload.js +++ b/examples/preload.js @@ -29,7 +29,7 @@ const map2 = new Map({ preload: 0, // default value source: new BingMaps({ key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5', - imagerySet: 'AerialWithLabels' + imagerySet: 'AerialWithLabelsOnDemand' }) }) ], diff --git a/test/spec/ol/source/bingmaps.test.js b/test/spec/ol/source/bingmaps.test.js index 9fa3a9a92c..ad96b340d3 100644 --- a/test/spec/ol/source/bingmaps.test.js +++ b/test/spec/ol/source/bingmaps.test.js @@ -18,7 +18,7 @@ describe('ol.source.BingMaps', function() { beforeEach(function(done) { source = new BingMaps({ - imagerySet: 'AerialWithLabels', + imagerySet: 'AerialWithLabelsOnDemand', key: '' }); @@ -39,7 +39,7 @@ describe('ol.source.BingMaps', function() { }); it('getImagerySet works correctly', function() { - expect(source.getImagerySet()).to.equal('AerialWithLabels'); + expect(source.getImagerySet()).to.equal('AerialWithLabelsOnDemand'); }); it('getApiKey works correctly', function() {