WMC Example
Shows parsing of Web Map Context documents.
write
read as new map
read and merge
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.