OpenLayers.Format.WMC.v1_0_0

Read and write WMC version 1.0.0.

Inherits from

Summary
OpenLayers.Format.WMC.v1_0_0Read and write WMC version 1.0.0.
Constants
VERSION{String} 1.0.0
Properties
schemaLocation{String} http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd
Constructor
OpenLayers.Format.WMC.v1_0_0Instances of this class are not created directly.
Functions
read_wmc_SRS
write_wmc_LayerCreate a Layer node given a layer context object.

Constants

VERSION

{String} 1.0.0

Properties

Constructor

OpenLayers.Format.WMC.v1_0_0

Instances of this class are not created directly.  Use the OpenLayers.Format.WMC constructor instead.

Parameters

options{Object} An optional object whose properties will be set on this instance.

Functions

read_wmc_SRS

read_wmc_SRS: function(layerContext,
node)

write_wmc_Layer

write_wmc_Layer: function(context)

Create a Layer node given a layer context object.  This method adds elements specific to version 1.0.0.

Parameters

context{Object} A layer context object.}

Returns

{Element} A WMC Layer element node.

read_wmc_SRS: function(layerContext,
node)
write_wmc_Layer: function(context)
Create a Layer node given a layer context object.
Superclass for WMC version 1 parsers.
Read and write Web Map Context documents.
Close