Remove lint
This commit is contained in:
@@ -5,9 +5,7 @@ describe('ol.source.ImageStatic', function () {
|
||||
let extent, pixelRatio, projection, resolution;
|
||||
beforeEach(function () {
|
||||
extent = [
|
||||
-13637278.73946974,
|
||||
4543799.13271362,
|
||||
-13617443.330629736,
|
||||
-13637278.73946974, 4543799.13271362, -13617443.330629736,
|
||||
4553927.038961405,
|
||||
];
|
||||
pixelRatio = 1;
|
||||
@@ -20,9 +18,7 @@ describe('ol.source.ImageStatic', function () {
|
||||
const source = new Static({
|
||||
url: 'spec/ol/source/images/12-655-1583.png',
|
||||
imageExtent: [
|
||||
-13629027.891360067,
|
||||
4539747.983913189,
|
||||
-13619243.951739565,
|
||||
-13629027.891360067, 4539747.983913189, -13619243.951739565,
|
||||
4559315.863154193,
|
||||
],
|
||||
projection: projection,
|
||||
@@ -43,9 +39,7 @@ describe('ol.source.ImageStatic', function () {
|
||||
const source = new Static({
|
||||
url: 'spec/ol/source/images/12-655-1583.png',
|
||||
imageExtent: [
|
||||
-13629027.891360067,
|
||||
4539747.983913189,
|
||||
-13609460.012119063,
|
||||
-13629027.891360067, 4539747.983913189, -13609460.012119063,
|
||||
4549531.923533691,
|
||||
],
|
||||
projection: projection,
|
||||
@@ -66,9 +60,7 @@ describe('ol.source.ImageStatic', function () {
|
||||
const source = new Static({
|
||||
url: 'spec/ol/source/images/12-655-1583.png',
|
||||
imageExtent: [
|
||||
-13629027.891360067,
|
||||
4539747.983913189,
|
||||
-13619243.951739565,
|
||||
-13629027.891360067, 4539747.983913189, -13619243.951739565,
|
||||
4559315.863154193,
|
||||
],
|
||||
imageSize: [254, 254],
|
||||
@@ -90,9 +82,7 @@ describe('ol.source.ImageStatic', function () {
|
||||
const source = new Static({
|
||||
url: 'spec/ol/source/images/12-655-1583.png',
|
||||
imageExtent: [
|
||||
-13629027.891360067,
|
||||
4539747.983913189,
|
||||
-13619243.951739565,
|
||||
-13629027.891360067, 4539747.983913189, -13619243.951739565,
|
||||
4549531.923533691,
|
||||
],
|
||||
projection: projection,
|
||||
|
||||
@@ -79,9 +79,7 @@ describe('ol.source.TileJSON', function () {
|
||||
|
||||
it('returns attributions, but not when outside bounds', function () {
|
||||
tileJSON.bounds = [
|
||||
-10.764179999935878,
|
||||
49.528423000201656,
|
||||
1.9134115551745678,
|
||||
-10.764179999935878, 49.528423000201656, 1.9134115551745678,
|
||||
61.3311509999582,
|
||||
];
|
||||
const source = new TileJSON({
|
||||
|
||||
@@ -70,9 +70,7 @@ describe('ol.source.TileWMS', function () {
|
||||
const queryData = uri.searchParams;
|
||||
const bbox = queryData.get('BBOX').split(',');
|
||||
const expected = [
|
||||
-10331840.239250705,
|
||||
-15341217.324948018,
|
||||
-4696291.017841229,
|
||||
-10331840.239250705, -15341217.324948018, -4696291.017841229,
|
||||
-9705668.103538541,
|
||||
];
|
||||
for (let i = 0, ii = bbox.length; i < ii; ++i) {
|
||||
|
||||
@@ -247,9 +247,7 @@ describe('ol.source.VectorTile', function () {
|
||||
}
|
||||
|
||||
const extent = [
|
||||
665584.2026596286,
|
||||
7033250.839875697,
|
||||
667162.0221431496,
|
||||
665584.2026596286, 7033250.839875697, 667162.0221431496,
|
||||
7035280.378636755,
|
||||
];
|
||||
|
||||
@@ -257,20 +255,7 @@ describe('ol.source.VectorTile', function () {
|
||||
tileGrid: new TileGrid({
|
||||
origin: [218128, 6126002],
|
||||
resolutions: [
|
||||
4096,
|
||||
2048,
|
||||
1024,
|
||||
512,
|
||||
256,
|
||||
128,
|
||||
64,
|
||||
32,
|
||||
16,
|
||||
8,
|
||||
4,
|
||||
2,
|
||||
1,
|
||||
0.5,
|
||||
4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1, 0.5,
|
||||
],
|
||||
}),
|
||||
tileUrlFunction: tileUrlFunction,
|
||||
@@ -391,9 +376,7 @@ describe('ol.source.VectorTile', function () {
|
||||
target.style.height = '100px';
|
||||
document.body.appendChild(target);
|
||||
const extent = [
|
||||
1824704.739223726,
|
||||
6141868.096770482,
|
||||
1827150.7241288517,
|
||||
1824704.739223726, 6141868.096770482, 1827150.7241288517,
|
||||
6144314.081675608,
|
||||
];
|
||||
source = new VectorTileSource({
|
||||
|
||||
Reference in New Issue
Block a user