From 1205d0fe1eb3883b1a74cc36a9db0b7f4b52bf17 Mon Sep 17 00:00:00 2001 From: tsauerwein Date: Wed, 13 Aug 2014 10:32:26 +0200 Subject: [PATCH] Fix ol.format.GML.readProjectionFromNode --- src/ol/format/gmlformat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/format/gmlformat.js b/src/ol/format/gmlformat.js index ed840a66d8..c771cb7d6c 100644 --- a/src/ol/format/gmlformat.js +++ b/src/ol/format/gmlformat.js @@ -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')); };