Field note
What it does
API Reference Core Classes Deck On this page Deck Deck is a class that takes deck.gl layer instances and viewport parameters, renders those layers as a transparent overlay, and handles events. If you are using React, you should not use this class directly. Instead you should be rendering the DeckGL React component. Usage // Basic standalone use import { Deck } from '@deck.gl/core' ; import { ScatterplotLayer } from '@deck.gl/layers' ; const deck = new Deck ( { initialViewState : { longitude : - 122.45 , latitude : 37.78 , zoom : 12 } , controller : true , layers : [ new ScatterplotLayer ( { data } ) ] } ) ; Constructor Creates a new Deck instance. const deck = new Deck ( props ) ; Parameters: See the Properties section. Properties Initialization Settings The following properties are used to initialize a Deck instance. Any custom value should always be provided to the Deck constructor. Changing them with setProps afterwards will have no effect.
Capabilities
Available capabilities
Tags
Tags
Ways to use it
Ways to use it
javascript / deck.gl
python / Not filed
javascript / Not filed
JavaScript / @deck.gl/core
JavaScript / https://deck.gl/docs/get-started/using-standalone
JavaScript / @deck.gl/layers
javascript / @deck.gl/mapbox
javascript / @deck.gl/arcgis
javascript / @deck.gl/test-utils
javascript / https://deck.gl/docs/api-reference/mapbox/overview
javascript / @deck.gl/react