Update WMSCapabilities.js
This commit is contained in:
1 parent
6a811ef767
commit
eec4b46ac1
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user