SandDance

vega-deck.gl

Functions

use

Specify the dependency libraries to use for rendering.

function use(vega: VegaBase, deck: DeckBase, layers: DeckLayerBase, luma: LumaBase): void;

Parameters

Name Type Description
vega VegaBase Vega library.
deck DeckBase deck/core library.
layers DeckLayerBase deck/layers library.
luma LumaBase luma.gl library.

Return type

void

Enums

PresenterElement

HTML elements outputted by the presenter.

enum PresenterElement {
     root = 0,
     gl = 1,
     panel = 2,
     legend = 3,
     vegaControls = 4
}

Members

Name Value
root 0
gl 1
panel 2
legend 3
vegaControls 4

Classes

Presenter

Class which presents a Stage of chart data using Deck.gl to render.

Namespaces

constants


controls


defaults


types


util

Variables

base

References to dependency libraries.

const base: Base;

Type

Base


ViewGl

Subclass of Vega.View, with added properties for accessing a Presenter. This is instantiatable by calling new ViewGl(). See https://vega.github.io/vega/docs/api/view/

const ViewGl: typeof ViewGl_Class;

Type

typeof ViewGl_Class