mapToReplayEvent

fun mapToReplayEvent(historyEvent: HistoryEvent): ReplayEventBase?

Given HistoryEvent map to ReplayEventBase that can be replayed using MapboxReplayer

Use the MapboxHistoryReader in order to read the event from a file.