BaseLayer

BaseLayer

Tile layer used as base for map

Constructor

new BaseLayer(configopt)

Source:
Parameters:
Name Type Attributes Description
config Object <optional>

Configuration object

Properties
Name Type Attributes Default Description
title String <optional>
'BaseLayer'

Layer title

visible Boolean <optional>
false

Layer initial status

layerParams Object <optional>

Extra params for OpenLayers Layer constructor

sourceParams Object <optional>

Extra params for OpenLayers Source constructor

Extends

Members

source :Object

Source:
Inherited From:

Layer source object (One of OpenLayers' ol.source options)

Type:
  • Object

Methods

fitMap()

Source:
Inherited From:

Fits map to this layer

getVisible() → {Boolean}

Source:
Inherited From:

Returns layer visibility status

Returns:
Type
Boolean