Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

How to add a layer using config file's information?

$
0
0
I need to add a layer from config.xml, I put down codes like
Code:

toc.map.addLayer("season", -1);
"Season" is the from config.xml as the following
Code:

<operationallayers>        <layer label="Season" type="dynamic" ..../>
But it does not work. How should I add a layer from config file? Thanks a lot!

Viewing all articles
Browse latest Browse all 2097

Trending Articles