Base Layer properties.

props inherited from deck.gl Layer.

Properties

PropTypes

Description

id

string option

Unique layer ID

data

Array option

Data expected by the layer

visible

boolean option

Whether to show the layer.

pickable

boolean option

Whether the layer responds to mouse actions.

opacity

number option

The opacity of the layer.

onHover

Function option

Callback on mouse on / off on layer.

onClick

Function option

Callback on mouse click of layer.

See the deck.gl site for more information on base layers.

Last updated