LoadingWidget (Experimental)
This widget shows a spinning indicator while any deck.gl layers are loading data.
Usage
import {Deck} from '@deck.gl/core';
import {_LoadingWidget as LoadingWidget} from '@deck.gl/widgets';
new Deck({
widgets: [new LoadingWidget()]
});
Types
LoadingWidgetProps
The InfoWidget
accepts the generic WidgetProps
and:
label
(string, optional)
- Default:
'Loading data'
Tooltip message displayed while hovering a mouse over the widget.