WMC Example
Shows parsing of Web Map Context documents.
write
read as new map
with the following extra map options :
read and merge
try with another WMC document
paste WMC doc here
This is an example of parsing WMC documents.
The format class has a layerOptions property, which can be used to control the default options of the layer when it is created by the parser.