Use local data for rendering tests

This commit is contained in:
Tim Schaub
2018-11-13 13:37:14 +01:00
parent 647421f07b
commit c3c5b3b314
93 changed files with 18 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 98 KiB

View File

@@ -1,12 +1,14 @@
import Map from '../../../src/ol/Map.js';
import View from '../../../src/ol/View.js';
import TileLayer from '../../../src/ol/layer/Tile.js';
import OSM from '../../../src/ol/source/OSM.js';
import XYZ from '../../../src/ol/source/XYZ.js';
new Map({
layers: [
new TileLayer({
source: new OSM()
source: new XYZ({
url: '/data/tiles/satellite/{z}/{x}/{y}.jpg'
})
})
],
target: 'map',