Remove applyDefaultStyle method
This commit is contained in:
@@ -397,7 +397,7 @@ ol.layer.Vector.prototype.groupFeaturesBySymbolizerLiteral =
|
||||
// layer style second
|
||||
literals = style.createLiterals(feature);
|
||||
} else {
|
||||
literals = ol.style.Style.applyDefaultStyle(feature);
|
||||
literals = ol.style.Style.defaults.createLiterals(feature);
|
||||
}
|
||||
}
|
||||
numLiterals = literals.length;
|
||||
|
||||
@@ -50,16 +50,6 @@ ol.style.Style.prototype.createLiterals = function(feature) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.Feature} feature Feature.
|
||||
* @return {Array.<ol.style.Literal>} Default symbolizer literals for
|
||||
* the feature.
|
||||
*/
|
||||
ol.style.Style.applyDefaultStyle = function(feature) {
|
||||
return ol.style.Style.defaults.createLiterals(feature);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* The default style.
|
||||
* @type {ol.style.Style}
|
||||
|
||||
Reference in New Issue
Block a user