Closed MarcSkovMadsen closed 3 weeks ago
From what I can see 2 things are needed
See also https://deck.gl/docs/api-reference/json/conversion-reference.
Maybe instead of doing our own serialization of the pydeck .__dict__
it would be better to use the serialization that must be built into pydeck?
PyDeck Carto adds some custom configuration of a js function that Panel needs to support. Similarly to existing support for tooltips.
I've been looking at this. I can see the Jupyter Deck.gl widget supports 3 map providers: mapbox, carto and google_maps. Furthermore it supports adding custom functions (needed by carto) and custom libraries (needed by carto). To support these 3 map providers we would need to do a similar implementation. Seee https://github.com/visgl/deck.gl/blob/master/modules/jupyter-widget/src/playground/create-deck.js.
With Panel 1.4.0 the Deck.gl pane should support the Carto layout. Thus there would be hope that the pydeck-carto package would be supported.
It seems not. I end up experiencing
Reproducible example
app.py