I need to add a layer from config.xml, I put down codes like
"Season" is the from config.xml as the following
But it does not work. How should I add a layer from config file? Thanks a lot!
Code:
toc.map.addLayer("season", -1);
Code:
<operationallayers> <layer label="Season" type="dynamic" ..../>