---
title: cancel()
framework: mapkit
role: symbol
role_heading: Instance Method
path: mapkit/mkmapsnapshotter/cancel()
---

# cancel()

Cancels the request to create a snapshot.

## Declaration

```swift
func cancel()
```

## Discussion

Discussion If the snapshotter isn’t in the process of generating the snapshot, calling this method does nothing.

## See Also

### Generating a snapshot

- [start(completionHandler:)](mapkit/mkmapsnapshotter/start(completionhandler:).md)
- [start(with:completionHandler:)](mapkit/mkmapsnapshotter/start(with:completionhandler:).md)
- [MKMapSnapshotter.CompletionHandler](mapkit/mkmapsnapshotter/completionhandler.md)
- [isLoading](mapkit/mkmapsnapshotter/isloading.md)
