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

@@ -2,7 +2,7 @@
import _ol_Map_ from '../src/ol/Map.js';
import _ol_View_ from '../src/ol/View.js';
import _ol_layer_Image_ from '../src/ol/layer/Image.js';
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
import TileLayer from '../src/ol/layer/Tile.js';
import {fromLonLat} from '../src/ol/proj.js';
import _ol_source_Raster_ from '../src/ol/source/Raster.js';
import _ol_source_XYZ_ from '../src/ol/source/XYZ.js';
@@ -38,7 +38,7 @@ var raster = new _ol_source_Raster_({
var map = new _ol_Map_({
target: 'map',
layers: [
new _ol_layer_Tile_({
new TileLayer({
source: new _ol_source_XYZ_({
url: 'https://api.mapbox.com/styles/v1/tschaub/ciutc102t00c62js5fqd47kqw/tiles/256/{z}/{x}/{y}?access_token=' + key
})