update

fun update(data: SourceDataLoaded)

The client application should subscribe to SourceDataLoaded events from the MapboxMap and forward the events to this method in order to use this class correctly.