Deck.gl

Demonstrates loading deck.gl as external JSS and CSS components, rendering it as part of an app, and then linking it to Panel widgets.

In [1]:
import panel as pn

js_files = {'deck': 'https://unpkg.com/deck.gl@^6.0.0/deckgl.min.js',
            'mapboxgl': 'https://api.tiles.mapbox.com/mapbox-gl-js/v0.44.1/mapbox-gl.js'}
css_files = ['https://api.tiles.mapbox.com/mapbox-gl-js/v0.44.1/mapbox-gl.css']

pn.extension(js_files=js_files, css_files=css_files)