Change imageSmoothing to interpolate
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
@@ -6,7 +6,7 @@ import View from '../../../../src/ol/View.js';
|
|||||||
const source = new Static({
|
const source = new Static({
|
||||||
url: '/data/tiles/osm/5/5/12.png',
|
url: '/data/tiles/osm/5/5/12.png',
|
||||||
imageExtent: [-123, 37, -122, 38],
|
imageExtent: [-123, 37, -122, 38],
|
||||||
imageSmoothing: false,
|
interpolate: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
new Map({
|
new Map({
|
||||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -7,7 +7,7 @@ import {fromLonLat, transformExtent} from '../../../../src/ol/proj.js';
|
|||||||
const source = new Static({
|
const source = new Static({
|
||||||
url: '/data/tiles/osm/5/5/12.png',
|
url: '/data/tiles/osm/5/5/12.png',
|
||||||
imageExtent: transformExtent([-123, 37, -122, 38], 'EPSG:4326', 'EPSG:3857'),
|
imageExtent: transformExtent([-123, 37, -122, 38], 'EPSG:4326', 'EPSG:3857'),
|
||||||
imageSmoothing: false,
|
interpolate: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
new Map({
|
new Map({
|
||||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -7,7 +7,7 @@ import {fromLonLat} from '../../../../src/ol/proj.js';
|
|||||||
const source = new Static({
|
const source = new Static({
|
||||||
url: '/data/tiles/osm/5/5/12.png',
|
url: '/data/tiles/osm/5/5/12.png',
|
||||||
imageExtent: [-123, 37, -122, 38],
|
imageExtent: [-123, 37, -122, 38],
|
||||||
imageSmoothing: false,
|
interpolate: false,
|
||||||
projection: 'EPSG:4326',
|
projection: 'EPSG:4326',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -10,7 +10,7 @@ import {
|
|||||||
const source = new Static({
|
const source = new Static({
|
||||||
url: '/data/tiles/osm/5/5/12.png',
|
url: '/data/tiles/osm/5/5/12.png',
|
||||||
imageExtent: transformExtent([-123, 37, -122, 38], 'EPSG:4326', 'EPSG:3857'),
|
imageExtent: transformExtent([-123, 37, -122, 38], 'EPSG:4326', 'EPSG:3857'),
|
||||||
imageSmoothing: false,
|
interpolate: false,
|
||||||
projection: getProjection('EPSG:3857'),
|
projection: getProjection('EPSG:3857'),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -13,7 +13,7 @@ const source = new XYZ({
|
|||||||
transition: 0,
|
transition: 0,
|
||||||
minZoom: 5,
|
minZoom: 5,
|
||||||
maxZoom: 5,
|
maxZoom: 5,
|
||||||
imageSmoothing: false,
|
interpolate: false,
|
||||||
url: '/data/tiles/osm/{z}/{x}/{y}.png',
|
url: '/data/tiles/osm/{z}/{x}/{y}.png',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -12,7 +12,7 @@ const source = new XYZ({
|
|||||||
transition: 0,
|
transition: 0,
|
||||||
minZoom: 5,
|
minZoom: 5,
|
||||||
maxZoom: 5,
|
maxZoom: 5,
|
||||||
imageSmoothing: false,
|
interpolate: false,
|
||||||
url: '/data/tiles/osm/{z}/{x}/{y}.png',
|
url: '/data/tiles/osm/{z}/{x}/{y}.png',
|
||||||
});
|
});
|
||||||
|
|
||||||