Read and write Web Map Context documents.
| OpenLayers. | Read and write Web Map Context documents. | 
| Properties | |
| defaultVersion | {String} Version number to assume if none found. | 
| Constructor | |
| OpenLayers. | Create a new parser for Web Map Context documents. | 
| Functions | |
| layerToContext | Create a layer context object given a wms layer object. | 
| toContext | Create a context object free from layer given a map or a context object. | 
layerToContext: function( layer ) 
Create a layer context object given a wms layer object.
| layer | {OpenLayers.Layer.WMS} The layer. | 
{Object} A layer context object.
toContext: function( obj ) 
Create a context object free from layer given a map or a context object.
| obj | {OpenLayers.Map | Object} The map or context. | 
{Object} A context object.
Create a layer context object given a wms layer object.
layerToContext: function( layer ) 
Create a context object free from layer given a map or a context object.
toContext: function( obj )