Fix ol.format.GML.readProjectionFromNode

This commit is contained in:
tsauerwein
2014-08-13 10:32:26 +02:00
parent 294afe16fe
commit 1205d0fe1e

View File

@@ -1076,8 +1076,8 @@ ol.format.GML.prototype.readFeaturesFromNode = function(node, opt_options) {
* @inheritDoc
*/
ol.format.GML.prototype.readProjectionFromNode = function(node) {
return goog.isDef(this.srsName_) ? this.srsName_ :
node.firstElementChild.getAttribute('srsName');
return ol.proj.get(goog.isDef(this.srsName_) ? this.srsName_ :
node.firstElementChild.getAttribute('srsName'));
};