Deck2gisLayer | MapGL | Urbi Documentation
MapGL JS API

Deck2gisLayer

A class that provides rendering any deck.gl layer inside the MapGl canvas / WebGL context.

new constructor(props)

Example:

const deckLayer = new mapgl.Deck2gisLayer(map, Deck, {
    id: 'deckLayer',
    deck,
    type: HexagonLayer,
    data,
    getPosition: (d) => [d.point.lon, d.point.lat]
});

map.addLayer(deckLayer);
Parameters
props
LayerProps<LayerT>
Returns
Deck2gisLayer<LayerT>
Methods