diff --git a/src/ol/format/format.exports b/src/ol/format/format.exports index 0d0fdfb024..b739fdbdb7 100644 --- a/src/ol/format/format.exports +++ b/src/ol/format/format.exports @@ -1,2 +1 @@ @exportProperty ol.format.Format.prototype.readProjection -@exportProperty ol.format.Format.prototype.readStyleFunction diff --git a/src/ol/format/format.js b/src/ol/format/format.js index 4e3c0a055a..b426dbaebc 100644 --- a/src/ol/format/format.js +++ b/src/ol/format/format.js @@ -67,16 +67,6 @@ ol.format.Format.prototype.readGeometry = goog.abstractMethod; ol.format.Format.prototype.readProjection = goog.abstractMethod; -/** - * @param {Document|Node|Object|string} source Source. - * @return {function(ol.Feature, number): Array.} Style - * function. - */ -ol.format.Format.prototype.readStyleFunction = function(source) { - return goog.functions.NULL; -}; - - /** * @param {ol.Feature} feature Feature. * @return {Node|Object|string} Result.