Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LayerConstructorOptions

Layer parameters to construct a new layer.

Hierarchy

Overview

Properties

Optional id

id: string

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

Optional label

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.

Optional layerType

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.

Optional maxScale

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.

Optional minScale

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.

Optional visible

visible: boolean

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

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method