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
-16
View File
@@ -1721,22 +1721,6 @@ ol.format.KML.prototype.readNameFromNode = function(node) {
ol.format.KML.prototype.readProjection;
/**
* @inheritDoc
*/
ol.format.KML.prototype.readProjectionFromDocument = function(doc) {
return this.defaultDataProjection;
};
/**
* @inheritDoc
*/
ol.format.KML.prototype.readProjectionFromNode = function(node) {
return this.defaultDataProjection;
};
/**
* @param {Node} node Node to append a TextNode with the color to.
* @param {ol.Color|string} color Color.