From 4365e1972765c8229ccc4155a203d73baf615d85 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Mon, 11 Dec 2017 19:31:26 +0100 Subject: [PATCH] Remove unneeded configs from test --- test/spec/ol/source/vectortile.test.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/spec/ol/source/vectortile.test.js b/test/spec/ol/source/vectortile.test.js index c39ee4f151..8106d85b08 100644 --- a/test/spec/ol/source/vectortile.test.js +++ b/test/spec/ol/source/vectortile.test.js @@ -5,7 +5,6 @@ goog.require('ol.VectorTile'); goog.require('ol.format.MVT'); goog.require('ol.layer.VectorTile'); goog.require('ol.proj'); -goog.require('ol.proj.Projection'); goog.require('ol.source.VectorTile'); goog.require('ol.tilegrid'); goog.require('ol.tilegrid.TileGrid'); @@ -95,15 +94,9 @@ describe('ol.source.VectorTile', function() { loaded.push(src); } - var proj = new ol.proj.Projection({ - code: 'EPSG:3006', - units: 'm' - }); - var extent = [665584.2026596286, 7033250.839875697, 667162.0221431496, 7035280.378636755]; source = new ol.source.VectorTile({ - projection: proj, tileGrid: new ol.tilegrid.TileGrid({ origin: [218128, 6126002], resolutions: [4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1, 0.5] @@ -119,14 +112,12 @@ describe('ol.source.VectorTile', function() { map = new ol.Map({ layers: [ new ol.layer.VectorTile({ - visible: true, extent: extent, source: source }) ], target: target, view: new ol.View({ - projection: proj, zoom: 11, center: [666373.1624999996, 7034265.3572] })