MapClient(androidJvm)

Interface for the MapClient.

interface MapClient(androidJvm)

Functions

scheduleRepaint
Link copied to clipboard

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.

abstract fun scheduleRepaint()
scheduleTask
Link copied to clipboard

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.

abstract fun scheduleTask(task: Task)

Inheritors

MapClientNative
Link copied to clipboard