Merge pull request #2658 from oterral/fix_getcap

Set inherited values when parsing a GetCapabilities
This commit is contained in:
Frédéric Junod
2014-09-25 13:51:40 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -327,6 +327,7 @@ ol.format.WMSCapabilities.readLayer_ = function(node, objectStack) {
if (goog.isDef(parentValue)) {
var childValue = goog.object.setIfUndefined(layerObject, key, []);
childValue = childValue.concat(parentValue);
goog.object.set(layerObject, key, childValue);
}
});