Set inherited values

This commit is contained in:
oterral
2014-08-29 15:21:33 +02:00
parent 5df0b4ec3b
commit 962f1eecc0
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);
}
});