MapDataSizeListener

public protocol MapDataSizeListener : AnyObject

Protocol to get the result of map data size estimation.

  • Called after map data size estimation has been completed either with success or with error. Invoked on the main thread.

    Declaration

    Swift

    func onSizeEstimated(error: MapLoaderError?, dataSize: MapDataSize?)

    Parameters

    error

    Represents an error in case of a failure. If the operation was successful, nil is returned.

    dataSize

    Represents the map data size. In case of failure, nil is returned.