Class: LayerBoundingBoxConfig

LayerTree.LayerBoundingBoxConfig(crs, values)

Class representing a WMS layer Bounding Box

Constructor

new LayerBoundingBoxConfig(crs, values)

Create the WMS layer Geographic Bounding Box

Parameters:
Name Type Description
crs string

the CRS name

values Array.<number>

the 4 values describing the Geographic Bounding Box: west, south, east, north

Source:
Throws:
  • for number of args different of 4

    Type
    ValidationError
  • for values not number

    Type
    ConversionError

Extends

  • Extent

Members

crs :string

The CRS name

Type:
  • string
Source: