Rename _ol_source_BingMaps_ to BingMaps

This commit is contained in:
Tim Schaub
2018-01-08 13:52:28 -07:00
parent ceca0803e4
commit f184f6685d
23 changed files with 54 additions and 54 deletions

View File

@@ -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'
})