Merge pull request #8927 from tschaub/local
Use local data for rendering tests
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 119 KiB |
@@ -1,7 +1,7 @@
|
||||
import Map from '../../../src/ol/Map.js';
|
||||
import View from '../../../src/ol/View.js';
|
||||
import {Vector as VectorLayer, Tile as TileLayer} from '../../../src/ol/layer.js';
|
||||
import {Vector as VectorSource, OSM} from '../../../src/ol/source.js';
|
||||
import {Vector as VectorSource, XYZ} from '../../../src/ol/source.js';
|
||||
import Point from '../../../src/ol/geom/Point.js';
|
||||
import Feature from '../../../src/ol/Feature.js';
|
||||
import {fromLonLat} from '../../../src/ol/proj.js';
|
||||
@@ -12,7 +12,9 @@ const center = fromLonLat([8.6, 50.1]);
|
||||
new Map({
|
||||
layers: [
|
||||
new TileLayer({
|
||||
source: new OSM()
|
||||
source: new XYZ({
|
||||
url: '/data/tiles/satellite/{z}/{x}/{y}.jpg'
|
||||
})
|
||||
}),
|
||||
new VectorLayer({
|
||||
style: function() {
|
||||
|
||||
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 115 KiB |
@@ -1,7 +1,7 @@
|
||||
import Map from '../../../src/ol/Map.js';
|
||||
import View from '../../../src/ol/View.js';
|
||||
import {Vector as VectorLayer, Tile as TileLayer} from '../../../src/ol/layer.js';
|
||||
import {Vector as VectorSource, OSM} from '../../../src/ol/source.js';
|
||||
import {Vector as VectorSource, XYZ} from '../../../src/ol/source.js';
|
||||
import Point from '../../../src/ol/geom/Point.js';
|
||||
import Feature from '../../../src/ol/Feature.js';
|
||||
import {fromLonLat} from '../../../src/ol/proj.js';
|
||||
@@ -11,7 +11,9 @@ const center = fromLonLat([-111, 45.7]);
|
||||
new Map({
|
||||
layers: [
|
||||
new TileLayer({
|
||||
source: new OSM()
|
||||
source: new XYZ({
|
||||
url: '/data/tiles/satellite/{z}/{x}/{y}.jpg'
|
||||
})
|
||||
}),
|
||||
new VectorLayer({
|
||||
source: new VectorSource({
|
||||
@@ -26,7 +28,7 @@ new Map({
|
||||
target: 'map',
|
||||
view: new View({
|
||||
center: center,
|
||||
zoom: 4
|
||||
zoom: 3
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 111 KiB |
@@ -1,7 +1,7 @@
|
||||
import Map from '../../../src/ol/Map.js';
|
||||
import View from '../../../src/ol/View.js';
|
||||
import {Vector as VectorLayer, Tile as TileLayer} from '../../../src/ol/layer.js';
|
||||
import {Vector as VectorSource, OSM} from '../../../src/ol/source.js';
|
||||
import {Vector as VectorSource, XYZ} from '../../../src/ol/source.js';
|
||||
import Point from '../../../src/ol/geom/Point.js';
|
||||
import Feature from '../../../src/ol/Feature.js';
|
||||
import {fromLonLat} from '../../../src/ol/proj.js';
|
||||
@@ -11,7 +11,9 @@ const center = fromLonLat([-111, 45.7]);
|
||||
new Map({
|
||||
layers: [
|
||||
new TileLayer({
|
||||
source: new OSM()
|
||||
source: new XYZ({
|
||||
url: '/data/tiles/satellite/{z}/{x}/{y}.jpg'
|
||||
})
|
||||
}),
|
||||
new VectorLayer({
|
||||
source: new VectorSource({
|
||||
@@ -26,7 +28,7 @@ new Map({
|
||||
target: 'map',
|
||||
view: new View({
|
||||
center: center,
|
||||
zoom: 4,
|
||||
zoom: 3,
|
||||
rotation: Math.PI / 4
|
||||
})
|
||||
});
|
||||
|
||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 98 KiB |
@@ -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',
|
||||
|
||||
BIN
rendering/data/tiles/satellite/0/0/0.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
rendering/data/tiles/satellite/1/0/0.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
rendering/data/tiles/satellite/1/0/1.jpg
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
rendering/data/tiles/satellite/1/1/0.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
rendering/data/tiles/satellite/1/1/1.jpg
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
rendering/data/tiles/satellite/2/0/0.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
rendering/data/tiles/satellite/2/0/1.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
rendering/data/tiles/satellite/2/0/2.jpg
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
rendering/data/tiles/satellite/2/0/3.jpg
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
rendering/data/tiles/satellite/2/1/0.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
rendering/data/tiles/satellite/2/1/1.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
rendering/data/tiles/satellite/2/1/2.jpg
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
rendering/data/tiles/satellite/2/1/3.jpg
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
rendering/data/tiles/satellite/2/2/0.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
rendering/data/tiles/satellite/2/2/1.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
rendering/data/tiles/satellite/2/2/2.jpg
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
rendering/data/tiles/satellite/2/2/3.jpg
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
rendering/data/tiles/satellite/2/3/0.jpg
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
rendering/data/tiles/satellite/2/3/1.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
rendering/data/tiles/satellite/2/3/2.jpg
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
rendering/data/tiles/satellite/2/3/3.jpg
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
rendering/data/tiles/satellite/3/0/0.jpg
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
rendering/data/tiles/satellite/3/0/1.jpg
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
rendering/data/tiles/satellite/3/0/2.jpg
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
rendering/data/tiles/satellite/3/0/3.jpg
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
rendering/data/tiles/satellite/3/0/4.jpg
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
rendering/data/tiles/satellite/3/0/5.jpg
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
rendering/data/tiles/satellite/3/0/6.jpg
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
rendering/data/tiles/satellite/3/0/7.jpg
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
rendering/data/tiles/satellite/3/1/0.jpg
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
rendering/data/tiles/satellite/3/1/1.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
rendering/data/tiles/satellite/3/1/2.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
rendering/data/tiles/satellite/3/1/3.jpg
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
rendering/data/tiles/satellite/3/1/4.jpg
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
rendering/data/tiles/satellite/3/1/5.jpg
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
rendering/data/tiles/satellite/3/1/6.jpg
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
rendering/data/tiles/satellite/3/1/7.jpg
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
rendering/data/tiles/satellite/3/2/0.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
rendering/data/tiles/satellite/3/2/1.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
rendering/data/tiles/satellite/3/2/2.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
rendering/data/tiles/satellite/3/2/3.jpg
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
rendering/data/tiles/satellite/3/2/4.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
rendering/data/tiles/satellite/3/2/5.jpg
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
rendering/data/tiles/satellite/3/2/6.jpg
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
rendering/data/tiles/satellite/3/2/7.jpg
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
rendering/data/tiles/satellite/3/3/0.jpg
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
rendering/data/tiles/satellite/3/3/1.jpg
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
rendering/data/tiles/satellite/3/3/2.jpg
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
rendering/data/tiles/satellite/3/3/3.jpg
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
rendering/data/tiles/satellite/3/3/4.jpg
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
rendering/data/tiles/satellite/3/3/5.jpg
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
rendering/data/tiles/satellite/3/3/6.jpg
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
rendering/data/tiles/satellite/3/3/7.jpg
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
rendering/data/tiles/satellite/3/4/0.jpg
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
rendering/data/tiles/satellite/3/4/1.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
rendering/data/tiles/satellite/3/4/2.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
rendering/data/tiles/satellite/3/4/3.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
rendering/data/tiles/satellite/3/4/4.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
rendering/data/tiles/satellite/3/4/5.jpg
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
rendering/data/tiles/satellite/3/4/6.jpg
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
rendering/data/tiles/satellite/3/4/7.jpg
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
rendering/data/tiles/satellite/3/5/0.jpg
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
rendering/data/tiles/satellite/3/5/1.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
rendering/data/tiles/satellite/3/5/2.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
rendering/data/tiles/satellite/3/5/3.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
rendering/data/tiles/satellite/3/5/4.jpg
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
rendering/data/tiles/satellite/3/5/5.jpg
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
rendering/data/tiles/satellite/3/5/6.jpg
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
rendering/data/tiles/satellite/3/5/7.jpg
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
rendering/data/tiles/satellite/3/6/0.jpg
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
rendering/data/tiles/satellite/3/6/1.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
rendering/data/tiles/satellite/3/6/2.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
rendering/data/tiles/satellite/3/6/3.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
rendering/data/tiles/satellite/3/6/4.jpg
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
rendering/data/tiles/satellite/3/6/5.jpg
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
rendering/data/tiles/satellite/3/6/6.jpg
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
rendering/data/tiles/satellite/3/6/7.jpg
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
rendering/data/tiles/satellite/3/7/0.jpg
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
rendering/data/tiles/satellite/3/7/1.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
rendering/data/tiles/satellite/3/7/2.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
rendering/data/tiles/satellite/3/7/3.jpg
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
rendering/data/tiles/satellite/3/7/4.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
rendering/data/tiles/satellite/3/7/5.jpg
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
rendering/data/tiles/satellite/3/7/6.jpg
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
rendering/data/tiles/satellite/3/7/7.jpg
Normal file
|
After Width: | Height: | Size: 10 KiB |