# Class: DeckLayer

default.DeckLayer

deck.gl图层.

# Hierarchy

  • Evented

    DeckLayer

# Implements

  • CustomLayerInterface

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new DeckLayer(props: any): DeckLayer

# Parameters
Name Type
props any

Returns: DeckLayer

Overrides: Evented.constructor

# Properties

# deckNs

deckNs: object


# id

id: string

Implementation of: CustomLayerInterface.id


# layer

layer: object


# renderingMode

Optional renderingMode: "2d" | "3d"

Implementation of: CustomLayerInterface.renderingMode


# type

type: "custom"

Implementation of: CustomLayerInterface.type

# Methods

# onAdd

onAdd(map: any, gl: any): void

# Parameters
Name Type
map any
gl any

Returns: void

Implementation of: CustomLayerInterface.onAdd


# onRemove

onRemove(): void

Returns: void

Implementation of: CustomLayerInterface.onRemove


# render

render(gl: any, matrix: any): void

# Parameters
Name Type
gl any
matrix any

Returns: void

Implementation of: CustomLayerInterface.render


# setProps

setProps(props: any): void

# Parameters
Name Type
props any

Returns: void

vjmap / Exports / default / DiffusedApertureMarker