Add source as JavaScript dep

add_source_as_dep(deckgl, id, data)

Arguments

deckgl

A deckgl widget object.

id

The unique id of the source.

data

The url to fetch data from or a data object.