From 22bcfb974e1fc84b5946ab67cdd6471ef14048a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Dr=C3=B6nner?= Date: Tue, 21 Jun 2016 14:17:30 +0200 Subject: [PATCH] fix tests --- openlayers/openlayers-tests.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlayers/openlayers-tests.ts b/openlayers/openlayers-tests.ts index 9aeb8ffce4..4937d52516 100644 --- a/openlayers/openlayers-tests.ts +++ b/openlayers/openlayers-tests.ts @@ -364,7 +364,7 @@ var imageWMS: ol.source.ImageWMS = new ol.source.ImageWMS({ // const source = imageWMS as ol.source.Source; voidValue = source.refresh(); -projectionValue = source.getProjection(); +projection = source.getProjection(); // // ol.source.TileWMS @@ -376,7 +376,7 @@ var tileWMS: ol.source.TileWMS = new ol.source.TileWMS({ }); tileWMS.updateParams(tileWMS.getParams()); -stringValue = tileWMS.getGetFeatureInfoUrl(); +stringValue = tileWMS.getGetFeatureInfoUrl([0, 0], 1, "EPSG:4326", {}); // // ol.source.WMTS @@ -559,5 +559,5 @@ var draw: ol.interaction.Draw = new ol.interaction.Draw({ }) const select: ol.interaction.Select = new ol.interaction.Select({ - layers: (layer: ol.layer.Layer) => true; + layers: (layer: ol.layer.Layer) => true, });