Instance Method

initWithOptions:

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

Declaration

- (instancetype)initWithOptions:(MKMapSnapshotOptions *)options;

Parameters

options

The options to use when capturing the map imagery. If you specify nil for this property, the snapshotter uses a set of default options that capture an image of the current user’s country.

Return Value

An initialized snapshotter option.