MapCameraDelegate

public protocol MapCameraDelegate : AnyObject

Protocol for objects that want to get updates whenever the map is redrawn after camera parameters change.

  • Called on the main thread after the map is drawn.

    Declaration

    Swift

    func onMapCameraUpdated(_ cameraState: MapCamera.State)

    Parameters

    cameraState

    Camera parameters at the time the map was drawn.