Merge pull request #5213 from fredj/rm_ol.source.Source.prototype.setProjection
Remove unused ol.source.Source#setProjection function
This commit is contained in:
@@ -220,12 +220,3 @@ ol.source.Source.prototype.setState = function(state) {
|
|||||||
this.state_ = state;
|
this.state_ = state;
|
||||||
this.changed();
|
this.changed();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the projection of the source.
|
|
||||||
* @param {ol.proj.Projection} projection Projection.
|
|
||||||
*/
|
|
||||||
ol.source.Source.prototype.setProjection = function(projection) {
|
|
||||||
this.projection_ = projection;
|
|
||||||
};
|
|
||||||
|
|||||||
Reference in New Issue
Block a user