Read and write OWS Context documents. OWS Context documents are a preliminary OGC (Open Geospatial Consortium) standard for storing the state of a web mapping application. In a way it is the successor to Web Map Context (WMC), since it is more generic and more types of layers can be stored. Also, nesting of layers is supported since version 0.3.1. For more information see: http://www.ogcnetwork.net/context
OpenLayers. Format. OWSContext | Read and write OWS Context documents. |
Properties | |
defaultVersion | {String} Version number to assume if none found. |
Functions | |
getParser | Get the OWSContext parser given a version. |
toContext | Create a context object free from layer given a map or a context object. |
getParser: function( version )
Get the OWSContext parser given a version. Create a new parser if it does not already exist.
version | {String} The version of the parser. |
{OpenLayers.Format.OWSContext} An OWSContext parser.
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.
Get the OWSContext parser given a version.
getParser: function( version )
Create a context object free from layer given a map or a context object.
toContext: function( obj )