Skip to content

SourceEventType

SourceEventType = object

Defined in: ui/events.ts:460

SourceEventType - a mapping between the source data event names and their event value. These are the events fired by a Source as its data loads or changes; they also bubble up to the Map. See MapSourceDataEvent for the event shape.

Properties

data

data: MapSourceDataEvent

Defined in: ui/events.ts:464

Fired when the source's data loads or changes.


dataabort

dataabort: MapSourceDataEvent

Defined in: ui/events.ts:472

Fired when a request for the source's data is aborted.


dataloading

dataloading: MapSourceDataEvent

Defined in: ui/events.ts:468

Fired when the source begins loading or changing data.


error

error: ErrorEvent

Defined in: ui/events.ts:476

Fired when there's an error