OpenLayers.Format.WMSCapabilities.v1_1

Abstract class not to be instantiated directly.

Inherits from

Summary
OpenLayers.Format.WMSCapabilities.v1_1Abstract class not to be instantiated directly.
Constructor
OpenLayers.Format.WMSCapabilities.v1_1Create an instance of one of the subclasses.
Functions
readRead capabilities data from a string, and return a list of layers.
runChildNodes
read_cap_Capability
read_cap_Request
read_cap_GetMap
read_cap_Format
read_cap_DCPTypeSuper simplified HTTP href extractor.
read_cap_Service
read_cap_Layer
read_cap_ScaleHintThe Layer ScaleHint element has min and max attributes that relate to the minimum and maximum resolution that the server supports.
read_cap_Name
read_cap_Title
read_cap_Abstract
read_cap_LatLonBoundingBox
read_cap_Style
read_cap_LegendURL
read_cap_OnlineResource

Constructor

OpenLayers.Format.WMSCapabilities.v1_1

Create an instance of one of the subclasses.

Parameters

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

Functions

read

read: function(data)

Read capabilities data from a string, and return a list of layers.

Parameters

data{String} or {DOMElement} data to read/parse.

Returns

{Array} List of named layers.

runChildNodes

runChildNodes: function(obj,
node)

read_cap_Capability

read_cap_Capability: function(capabilities,
node)

read_cap_Request

read_cap_Request: function(obj,
node)

read_cap_GetMap

read_cap_GetMap: function(request,
node)

read_cap_Format

read_cap_Format: function(obj,
node)

read_cap_DCPType

read_cap_DCPType: function(obj,
node)

Super simplified HTTP href extractor.  Assumes the first online resource will work.

read_cap_Service

read_cap_Service: function(capabilities,
node)

read_cap_Layer

read_cap_Layer: function(capability,
node,
parentLayer)

read_cap_ScaleHint

read_cap_ScaleHint: function(layer,
node)

The Layer ScaleHint element has min and max attributes that relate to the minimum and maximum resolution that the server supports.  The values are pixel diagonals measured in meters (on the ground).

read_cap_Name

read_cap_Name: function(obj,
node)

read_cap_Title

read_cap_Title: function(obj,
node)

read_cap_Abstract

read_cap_Abstract: function(obj,
node)

read_cap_LatLonBoundingBox

read_cap_LatLonBoundingBox: function(layer,
node)

read_cap_Style

read_cap_Style: function(layer,
node)

read_cap_LegendURL

read_cap_LegendURL: function(style,
node)

read_cap_OnlineResource

read_cap_OnlineResource: function(obj,
node)
read: function(data)
Read capabilities data from a string, and return a list of layers.
runChildNodes: function(obj,
node)
read_cap_Capability: function(capabilities,
node)
read_cap_Request: function(obj,
node)
read_cap_GetMap: function(request,
node)
read_cap_Format: function(obj,
node)
read_cap_DCPType: function(obj,
node)
Super simplified HTTP href extractor.
read_cap_Service: function(capabilities,
node)
read_cap_Layer: function(capability,
node,
parentLayer)
read_cap_ScaleHint: function(layer,
node)
The Layer ScaleHint element has min and max attributes that relate to the minimum and maximum resolution that the server supports.
read_cap_Name: function(obj,
node)
read_cap_Title: function(obj,
node)
read_cap_Abstract: function(obj,
node)
read_cap_LatLonBoundingBox: function(layer,
node)
read_cap_Style: function(layer,
node)
read_cap_LegendURL: function(style,
node)
read_cap_OnlineResource: function(obj,
node)
Read and write XML.
Close