-
A callback that notifies the client that the map contains updated information, and thus requires a new render to be scheduled.
Note: this callback might be invoked from different threads and it blocks rendering, so clients shall avoid performing any extra operations in this callback.
Declaration
Objective-C
- (void)scheduleRepaint;
Swift
func scheduleRepaint()
-
Requests client to schedule task to be executed on client’s scheduling system.
Note: Implementation of this method is required when client uses dedicated rendering thread other then the thread where Map instance is constructed. Note: Client must clean the pending tasks from the task queue after the renderer is destroyed.
Declaration
Objective-C
- (void)scheduleTaskForTask:(nonnull MBMTask)task;
Swift
func scheduleTask(forTask task: @escaping Task)