OpenSpace. Layer.WMS

Display data from the OpenSpace WMS.

Inherits from

Summary
Display data from the OpenSpace WMS.
{OpenLayers.Size} Size of the 200x200 map tile.
{OpenLayers.Size} Size of the 250x250 map tile.
Create a new OpenSpace WMS layer object

Constants

tileSize200

{OpenLayers.Size} Size of the 200x200 map tile.

tileSize250

{OpenLayers.Size} Size of the 250x250 map tile.

Constructor

OpenSpace. Layer.WMS

Create a new OpenSpace WMS layer object

Example

var wms = new OpenSpace.Layer.WMS();

Parameters

Functions

getMapPointFromViewPortPx

getMapPointFromViewPortPx: function (viewPortPx)

Parameters

viewPortPx{OpenLayers.Pixel}

Returns

{<OpenSpace.Mappoint>} An OpenSpace.MapPoint which is the passed-in view port OpenLayers.Pixel, translated into British National Grid by the layer.

Instances of this class represent a width/height pair
getMapPointFromViewPortPx: function (viewPortPx)
Instances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services.
This class represents a screen coordinate, in x and y coordinates