Contents

MKMapSnapshotter.Snapshot

An image that a snapshotter object generates.

Declaration

class Snapshot

Overview

You don’t create instances of this class directly. Instead, you use an MKMapSnapshotter object to capture the map contents asynchronously. An MKMapSnapshotter.Snapshot object contains the image that the snapshotter generates from the map contents.

Snapshot images don’t include any custom overlays or annotations that your app adds to the map view. If you want your annotations and overlays to appear on the final image, you need to draw them yourself. To position those items correctly on the image, use the point(for:) 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

Getting points on the image

Getting appearance traits

See Also

Static map snapshots