From ce8cf27ad38d763872b5d44bf72719b8f4c7772e Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 2 Dec 2016 15:21:19 -0800 Subject: [PATCH] Remove assertion --- src/ol/source/tilearcgisrest.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ol/source/tilearcgisrest.js b/src/ol/source/tilearcgisrest.js index 1004d00264..f74cac6acb 100644 --- a/src/ol/source/tilearcgisrest.js +++ b/src/ol/source/tilearcgisrest.js @@ -1,7 +1,6 @@ goog.provide('ol.source.TileArcGISRest'); goog.require('ol'); -goog.require('ol.asserts'); goog.require('ol.extent'); goog.require('ol.math'); goog.require('ol.obj'); @@ -125,9 +124,6 @@ ol.source.TileArcGISRest.prototype.getRequestUrl_ = function(tileCoord, tileSize var modifiedUrl = url .replace(/MapServer\/?$/, 'MapServer/export') .replace(/ImageServer\/?$/, 'ImageServer/exportImage'); - if (modifiedUrl == url) { - ol.asserts.assert(false, 50); // Cannot determine Rest Service from url - } return ol.uri.appendParams(modifiedUrl, params); };