Update WMSCapabilities.js

This commit is contained in:
Jonathan Beliën
2020-09-01 12:06:22 +00:00
parent 6a811ef767
commit eec4b46ac1

View File

@@ -409,7 +409,7 @@ function readException(node, objectStack) {
function readCapabilityLayer(node, objectStack) {
const layerObject = pushParseAndPop({}, LAYER_PARSERS, node, objectStack);
if (layerObject.Layer === undefined) {
if (layerObject['Layer'] === undefined) {
return Object.assign(layerObject, readLayer(node, objectStack));
}