Instance Method

cancel()

Cancels the current request to create a snapshot.

Declaration

func cancel()

Discussion

If the snapshotter is not in the process of generating the snapshot, calling this method does nothing.

See Also

Generating a Snapshot

func start(completionHandler: MKMapSnapshotter.CompletionHandler)

Submits the request to create a snapshot and delivers the results to the specified block.

func start(with: DispatchQueue, completionHandler: MKMapSnapshotter.CompletionHandler)

Submits the request to create a snapshot and executes the resulting block on the specified queue.

typealias MKMapSnapshotter.CompletionHandler

A block that processes the results of a snapshot request.

var isLoading: Bool

A Boolean value indicating whether the snapshotter is currently generating an image.