diff --git a/src/ol/source/UrlTile.js b/src/ol/source/UrlTile.js index a68e833f085..f08b358ee2b 100644 --- a/src/ol/source/UrlTile.js +++ b/src/ol/source/UrlTile.js @@ -84,10 +84,6 @@ class UrlTile extends TileSource { this.setUrl(options.url); } - if (options.tileUrlFunction) { - this.setTileUrlFunction(options.tileUrlFunction, this.key_); - } - /** * @private * @type {!Object}