Fix doc.
Layers not always defined.
To fix #356.
Merge pull request #357 from camptocamp/layers-not-defind

Layers not always defined.