Class

MKMapSnapshotter

A utility object for capturing map-based imagery.

Declaration

@interface MKMapSnapshotter : NSObject

Overview

Use an MKMapSnapshotter object when you want to capture the system-provided map content, including the map tiles and imagery. The snapshotter object always captures the best image possible, loading all of the available map tiles before capturing the image.

You configure a snapshotter object using an MKMapSnapshotOptions object. The snapshot options specify the appearance of the map, including which portion of the map you want to capture.

Topics

Creating a Snapshotter Object

- initWithOptions:

Initializes and returns a snapshotter object based on the specified options.

MKMapSnapshotOptions

The options to use when capturing map-based imagery.

Generating a Snapshot

- startWithCompletionHandler:

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

- startWithQueue:completionHandler:

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

MKMapSnapshotCompletionHandler

A block that processes the results of a snapshot request.

- cancel

Cancels the current request to create a snapshot.

loading

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

Snapshot Output

MKMapSnapshot

An image generated by a snapshotter object.

Relationships

Inherits From

See Also

Static Map Snapshots

MKMapSnapshot

An image generated by a snapshotter object.