Layer parameters to construct a new layer.

Hierarchy

Properties

id?: string

The layer's ID. this should be unique within the map. If this parameter is omitted, an ID will be generated automatically.

label?: string

The layer's label. This should be human readable as it is typically used in layer controls. If this parameter is omitted the layer's label will correspond with the layer ID.

layerType?: LayerType

Configures the layer's LayerType. Value must be one of luciad.view.LayerType.BASE, luciad.view.LayerType.STATIC or luciad.view.LayerType.DYNAMIC. This determines the way the map will render the layer and can influence rendering performance. The default is STATIC.

maxScale?: number

The maximum scale at which this layer should render. If the map is being shown at a higher scale, the layer will not be rendered. This parameter can be omitted if no maximum scale is desired.

minScale?: number

The minimum scale at which this layer should render. If the map is being shown at a lower scale, this layer will not be rendered. This parameter can be omitted if no minimum scale is desired.

visible?: boolean

Configure the layer visibility. This can be changed afterwards with RasterTileSetLayer#visible.