LAYERS can be undefined
Add misssing queryLayers attribute
Merge pull request #541 from camptocamp/fix-querylayers

Fix querylayers