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

View File

@@ -5,7 +5,7 @@ import ImageLayer from '../src/ol/layer/Image.js';
import TileLayer from '../src/ol/layer/Tile.js';
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
import RasterSource from '../src/ol/source/Raster.js';
import _ol_source_XYZ_ from '../src/ol/source/XYZ.js';
import XYZ from '../src/ol/source/XYZ.js';
/**
@@ -102,7 +102,7 @@ function shade(inputs, data) {
return {data: shadeData, width: width, height: height};
}
var elevation = new _ol_source_XYZ_({
var elevation = new XYZ({
url: 'https://{a-d}.tiles.mapbox.com/v3/aj.sf-dem/{z}/{x}/{y}.png',
crossOrigin: 'anonymous',
transition: 0