Contents

MapCamera

Defines a virtual viewpoint above the map surface.

Declaration

struct MapCamera

Overview

MapCamera allows you to specify the viewpoint of a Map, as well as affect how MapKit presents the map to the user.

To create a map view with a 3D perspective, MapCamera takes input from the camera and device:

  • The location of the camera on the map.

  • The compass heading to indicate the camera’s viewing direction.

  • The pitch of the camera relative to the map perpendicular.

  • The camera’s distance from the target point.

Topics

Creating a map camera

Accessing the camera properties

See Also

Map customization