MapIdleDelegate

public protocol MapIdleDelegate : AnyObject

Used to detect when the map becomes idle or busy.

Map is considered busy when its state changes (for example as a result of camera manipulation) and/or when it requires a redraw (for example, as a result of map data being downloaded).

Map is considered idle when current state is fully rendered and no further redraws are necessary.

  • Called when map becomes invalidated and is about to be updated. One or more redraws will happen afterwards, until onMapIdle(...) is called.

    Declaration

    Swift

    func onMapBusy()
  • Called when map finishes all state updates. No state changes or redraws will happen aftrwards until onMapBusy(...) is called.

    Declaration

    Swift

    func onMapIdle()