From 8d997f17ec0d1ec86fd9d2338dcb241342fb8d25 Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Fri, 2 Aug 2013 15:53:18 +0200 Subject: [PATCH] forgot to remove a commented code block --- src/ol/parser/ogc/gml.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/ol/parser/ogc/gml.js b/src/ol/parser/ogc/gml.js index 8d271561a0..d3263a16e8 100644 --- a/src/ol/parser/ogc/gml.js +++ b/src/ol/parser/ogc/gml.js @@ -328,26 +328,6 @@ ol.parser.ogc.GML = function(opt_options) { if (!this.geometryName) { this.geometryName = node.nodeName.split(':').pop(); } - // TODO: Deal with GML documents that do not have the same SRS for all - // geometries. - /*var srsName; - if (!goog.isDef(this.srsName)) { - for (var i = node.childNodes.length - 1; i >= 0; --i) { - var child = node.childNodes[i]; - if (child.nodeType == 1) { - srsName = child.getAttribute('srsName'); - if (goog.isDef(srsName)) { - this.srsName = srsName; - } - break; - } - } - } - if (!goog.isDef(this.axisOrientation)) { - if (goog.isDef(srsName)) { - this.axisOrientation = ol.proj.get(srsName).getAxisOrientation(); - } - }*/ this.readChildNodes(node, obj); }, '_attribute': function(node, obj) {