API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class GetCapabilities

Package | org.openscales.core.layer.capabilities
Class | public class GetCapabilities

Class to request Capabilities to a given server.

Public Properties

| Property | Defined by
--- | --- | ---
|  | proxy : String | GetCapabilities
|  | version : String | GetCapabilities

Public Methods

| Method | Defined by
--- | --- | ---
|  | GetCapabilities(service:String, url:String, cbkFunc:Function = null, version:String = "1.1.0", proxy:String = null) Class contructor | GetCapabilities
|  | getAllCapabilities():HashMap Returns all the capabilities (i.e. | GetCapabilities
|  | getLayerCapabilities(layerName:String):HashMap Returns the capabilities HashMap representation of the specified layer name | GetCapabilities

Property detail

proxy | property

`proxy:String` [read-write]Implementation
`public function get proxy():String`
`public function set proxy(value:String):void`

version | property |

`version:String` [read-write]Implementation
`public function get version():String`
`public function set version(value:String):void`
Constructor detail

GetCapabilities | () | constructor

`public function GetCapabilities(service:String, url:String, cbkFunc:Function = null, version:String = "1.1.0", proxy:String = null)`

Class contructor

Parameters

| `service:String`
| `url:String`
| `cbkFunc:Function` (default = `null`)``
| `version:String` (default = "`1.1.0`")``
| `proxy:String` (default = `null`)``

Method detail

getAllCapabilities | () | method

`public function getAllCapabilities():HashMap`

Returns all the capabilities (i.e. all layers or features available and their properties) of the requested server.

Returns

| `HashMap` — An HashMap containing capabilities of all layers available on the server

getLayerCapabilities | () | method |

`public function getLayerCapabilities(layerName:String):HashMap`

Returns the capabilities HashMap representation of the specified layer name

Parameters

| `layerName:String` — The layer's name

Returns

| `HashMap` — An HashMap containing the capabilities of requested layer