Adapt to layersconfig changes

Please merge https://github.com/geoadmin/mf-chsdi3/pull/288 First!!