MapUpdaterConstructionCallback typedef

MapUpdaterConstructionCallback = void Function(MapUpdater mapUpdater)

A method which is called on the main thread when MapUpdater.fromSdkEngineAsync has been completed.

Construction requires the online configuration to be fetched, which in case of sync API, would block the calling thread. When configuration is cached, it is enough to read it from the disk, this operation still takes relatively big time.

  • mapUpdater Represents a constructed MapUpdater object.

Implementation

typedef MapUpdaterConstructionCallback = void Function(MapUpdater mapUpdater);