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. | Read and write OWS Context documents. |
Properties | |
defaultVersion | {String} Version number to assume if none found. |
Constructor | |
OpenLayers. | Create a new parser for OWS Context documents. |
Functions | |
getVersion | Returns the version to use. |
toContext | Create a context object free from layer given a map or a 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.
Returns the version to use.
getVersion: function( root, options )
Create a context object free from layer given a map or a context object.
toContext: function( obj )