Rename _ol_source_XYZ_ to XYZ

This commit is contained in:
Tim Schaub
2018-01-08 13:56:25 -07:00
parent fe0d05900f
commit 8c0a06b56a
26 changed files with 79 additions and 79 deletions
+3 -3
View File
@@ -1,16 +1,16 @@
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_XYZ_ from '../src/ol/source/XYZ.js';
import XYZ from '../src/ol/source/XYZ.js';
var url = 'https://{a-c}.tiles.mapbox.com/v3/mapbox.world-bright/{z}/{x}/{y}.png';
var withTransition = new TileLayer({
source: new _ol_source_XYZ_({url: url})
source: new XYZ({url: url})
});
var withoutTransition = new TileLayer({
source: new _ol_source_XYZ_({url: url, transition: 0}),
source: new XYZ({url: url, transition: 0}),
visible: false
});