OpenLayers.Format.WMC.v1_1_0 - OpenLayers

# OpenLayers. Format. WMC. v1_1_0

Read and write WMC version 1.1.0.

#### Differences between 1.1.0 and 1.0.0

- 1.1.0 Layers have optional sld:MinScaleDenominator and sld:MaxScaleDenominator

#### Inherits from

- OpenLayers.Format.WMC.v1

Summary

OpenLayers. Format. WMC. v1_1_0 | Read and write WMC version 1.1.0.
Constants |
VERSION | {String} 1.1.0
Properties |
schemaLocation | {String} http://www.opengis.net/context http://schemas.opengis.net- /context- /1.1.0- /context.xsd
Constructor |
OpenLayers. Format. WMC. v1_1_0 | Instances of this class are not created directly.
Functions |
read_sld_MinScaleDenominator | Read a sld:MinScaleDenominator node.
read_sld_MaxScaleDenominator | Read a sld:MaxScaleDenominator node.
write_wmc_Layer | Create a Layer node given a layer object.

### Constants

### VERSION

{String} 1.1.0

### Properties

### schemaLocation

{String} http://www.opengis.net/context http://schemas.opengis.net- /context- /1.1.0- /context.xsd

### Constructor

### OpenLayers. Format. WMC. v1_1_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_sld_MinScaleDenominator

> read_sld_MinScaleDenominator: function( | layerInfo,
> | node | )

Read a sld:MinScaleDenominator node.

#### Parameters

layerInfo | {Object} An object representing a layer.
node | {Element} An element node.

### read_sld_MaxScaleDenominator

> read_sld_MaxScaleDenominator: function( | layerInfo,
> | node | )

Read a sld:MaxScaleDenominator node.

#### Parameters

layerInfo | {Object} An object representing a layer.
node | {Element} An element node.

### write_wmc_Layer

> write_wmc_Layer: function( | layer | )

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

#### Parameters

layer | {OpenLayers.Layer.WMS} Layer object.

#### Returns

{Element} A WMC Layer element node.

> read_sld_MinScaleDenominator: function( | layerInfo,
> | node | )

Read a sld:MinScaleDenominator node.

> read_sld_MaxScaleDenominator: function( | layerInfo,
> | node | )

Read a sld:MaxScaleDenominator node.

> write_wmc_Layer: function( | layer | )

Create a Layer node given a layer object.
Superclass for WMC version 1 parsers.
Read and write Web Map Context documents.
Instances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services.
Close