From 8609e65fc2d5a0afa1e605d6d83452cc7bc4d4b9 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Thu, 11 May 2017 18:19:42 +0200 Subject: [PATCH 1/2] Remove unused setFeatures method --- src/ol/vectorimagetile.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/ol/vectorimagetile.js b/src/ol/vectorimagetile.js index 6ff79e74be..9b52b4513a 100644 --- a/src/ol/vectorimagetile.js +++ b/src/ol/vectorimagetile.js @@ -259,16 +259,6 @@ ol.VectorImageTile.prototype.load = function() { }; -/** - * @param {Array.} features Features. - * @api - */ -ol.VectorImageTile.prototype.setFeatures = function(features) { - this.features_ = features; - this.setState(ol.TileState.LOADED); -}; - - /** * @param {ol.TileState} tileState Tile state. */ From feacf7614ea9fbf3cda9cf920591927dd83454a4 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Fri, 12 May 2017 00:06:56 +0200 Subject: [PATCH 2/2] Remove unused getFormat() method and format_ member --- src/ol/vectorimagetile.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/ol/vectorimagetile.js b/src/ol/vectorimagetile.js index 9b52b4513a..7ac49ab936 100644 --- a/src/ol/vectorimagetile.js +++ b/src/ol/vectorimagetile.js @@ -42,12 +42,6 @@ ol.VectorImageTile = function(tileCoord, state, src, format, tileLoadFunction, */ this.context_ = null; - /** - * @private - * @type {ol.format.Feature} - */ - this.format_ = format; - /** * @private * @type {ol.FeatureLoader} @@ -171,16 +165,6 @@ ol.VectorImageTile.prototype.getImage = function() { }; -/** - * Get the feature format assigned for reading this tile's features. - * @return {ol.format.Feature} Feature format. - * @api - */ -ol.VectorImageTile.prototype.getFormat = function() { - return this.format_; -}; - - /** * @return {ol.TileReplayState} The replay state. */