Contents

MapCameraPosition

A structure that describes how to position the map’s camera within the map.

Declaration

struct MapCameraPosition

Overview

MapCameraPosition contains a variety of properties that you can use to control the semantic framings of the camera in relation to its position to the map, such as automatic, which frames the content of the map, and the camera property, which allows you to specify an explicit camera position.

When you pass MapCameraPosition as a binding to a map, the map adjusts its camera to frame the requested content, or to exactly match the camera MapCameraPosition specifies. If a person interacts with the Map in a way that moves the map, the map resets the position to a value that specifies positionedByUser.

Topics

Creating a camera position

Information about camera position and framing

Accessing information about someone’s location

See Also

Map customization