Merge pull request #6802 from ahocevar/vectorimage-nofeature

Remove unused setFeatures and getFormat methods
This commit is contained in:
Andreas Hocevar
2017-05-12 08:50:47 +02:00
committed by GitHub

View File

@@ -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.
*/
@@ -259,16 +243,6 @@ ol.VectorImageTile.prototype.load = function() {
};
/**
* @param {Array.<ol.Feature>} features Features.
* @api
*/
ol.VectorImageTile.prototype.setFeatures = function(features) {
this.features_ = features;
this.setState(ol.TileState.LOADED);
};
/**
* @param {ol.TileState} tileState Tile state.
*/