Make sure properties are not renamed

This commit is contained in:
tsauerwein
2016-06-22 10:28:16 +02:00
parent 29c8af7559
commit 7048de8e83
2 changed files with 36 additions and 30 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ ol.format.GML2.schemaLocation_ = ol.format.GMLBase.GMLNS +
*/
ol.format.GML2.prototype.readFlatCoordinates_ = function(node, objectStack) {
var s = ol.xml.getAllTextContent(node, false).replace(/^\s*|\s*$/g, '');
var context = objectStack[0];
var context = /** @type {ol.XmlNodeStackItem} */ (objectStack[0]);
goog.asserts.assert(goog.isObject(context), 'context should be an Object');
var containerSrs = context['srsName'];
var containerDimension = node.parentNode.getAttribute('srsDimension');