Rename _ol_layer_Tile_ to TileLayer

This commit is contained in:
Marc Jansen
2017-12-19 08:45:00 +01:00
parent afa99f5788
commit 25946b4541
147 changed files with 350 additions and 350 deletions

View File

@@ -1,6 +1,6 @@
import _ol_Map_ from '../src/ol/Map.js';
import _ol_View_ from '../src/ol/View.js';
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
import TileLayer from '../src/ol/layer/Tile.js';
import _ol_source_BingMaps_ from '../src/ol/source/BingMaps.js';
@@ -11,7 +11,7 @@ var view = new _ol_View_({
var map1 = new _ol_Map_({
layers: [
new _ol_layer_Tile_({
new TileLayer({
preload: Infinity,
source: new _ol_source_BingMaps_({
key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5',
@@ -25,7 +25,7 @@ var map1 = new _ol_Map_({
var map2 = new _ol_Map_({
layers: [
new _ol_layer_Tile_({
new TileLayer({
preload: 0, // default value
source: new _ol_source_BingMaps_({
key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5',