Class

MKMapSnapshot

An image generated by a snapshotter object.

Declaration

@interface MKMapSnapshot : NSObject

Overview

You do not create instances of this class directly. Instead, you use an MKMapSnapshotter object capture the map contents asynchronously. An MKMapSnapshot object contains the image generated by the snapshotter from the map contents.

Snapshot images do not include any custom overlays or annotations that your app added to the map view. If you want your annotations and overlays to appear on the final image, you must draw them yourself. To position those items correctly on the image, use the pointForCoordinate: method of this class to translate the overlay or annotation coordinate value to an appropriate location inside the image’s coordinate space.

Topics

Getting the Snapshot Image

image

The image of the map’s content.

appearance

The visual style that MapKit actually used when rendering the snapshot.

Getting Points on the Image

- pointForCoordinate:

Converts the specified map coordinate to a point in the coordinate space of the image.

Relationships

Inherits From

See Also

Static Snapshots

MKMapSnapshotter

A utility object for capturing map-based imagery.