Move readProjectionFrom* functions to the base classes

This commit is contained in:
Frederic Junod
2015-01-20 16:59:58 +01:00
parent 2970da3461
commit 077a827197
14 changed files with 65 additions and 75 deletions
+3 -1
View File
@@ -111,7 +111,9 @@ ol.format.TextFeature.prototype.readProjection = function(source) {
* @protected
* @return {ol.proj.Projection} Projection.
*/
ol.format.TextFeature.prototype.readProjectionFromText = goog.abstractMethod;
ol.format.TextFeature.prototype.readProjectionFromText = function(text) {
return this.defaultDataProjection;
};
/**