Rename _ol_source_BingMaps_ to BingMaps
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Map from '../src/ol/Map.js';
|
||||
import View from '../src/ol/View.js';
|
||||
import TileLayer from '../src/ol/layer/Tile.js';
|
||||
import _ol_source_BingMaps_ from '../src/ol/source/BingMaps.js';
|
||||
import BingMaps from '../src/ol/source/BingMaps.js';
|
||||
|
||||
|
||||
var view = new View({
|
||||
@@ -13,7 +13,7 @@ var map1 = new Map({
|
||||
layers: [
|
||||
new TileLayer({
|
||||
preload: Infinity,
|
||||
source: new _ol_source_BingMaps_({
|
||||
source: new BingMaps({
|
||||
key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5',
|
||||
imagerySet: 'Aerial'
|
||||
})
|
||||
@@ -27,7 +27,7 @@ var map2 = new Map({
|
||||
layers: [
|
||||
new TileLayer({
|
||||
preload: 0, // default value
|
||||
source: new _ol_source_BingMaps_({
|
||||
source: new BingMaps({
|
||||
key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5',
|
||||
imagerySet: 'AerialWithLabels'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user