From a365f185cca630f847856297f4da4ce3630bda8a Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 24 Feb 2016 09:20:12 +0100 Subject: [PATCH] Use ol.format.GMLBase#srsName instead of undeclared srsName_ The variable was changed from private to protected in 8182396 --- src/ol/format/gml/gmlbaseformat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/format/gml/gmlbaseformat.js b/src/ol/format/gml/gmlbaseformat.js index 9d8f9affa8..a641cdf95c 100644 --- a/src/ol/format/gml/gmlbaseformat.js +++ b/src/ol/format/gml/gmlbaseformat.js @@ -636,6 +636,6 @@ ol.format.GMLBase.prototype.readFeaturesFromNode = function(node, opt_options) { * @inheritDoc */ ol.format.GMLBase.prototype.readProjectionFromNode = function(node) { - return ol.proj.get(this.srsName_ ? this.srsName_ : + return ol.proj.get(this.srsName ? this.srsName : node.firstElementChild.getAttribute('srsName')); };