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
errorRepresents an error in case of a failure. If the operation was successful,
nilis returned.dataSizeRepresents the map data size. In case of failure,
nilis returned.