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 styles = [
@@ -18,7 +18,7 @@ for (i = 0, ii = styles.length; i < ii; ++i) {
layers.push(new TileLayer({
visible: false,
preload: Infinity,
source: new _ol_source_BingMaps_({
source: new BingMaps({
key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5',
imagerySet: styles[i]
// use maxZoom 19 to see stretched tiles instead of the BingMaps