<!--
{
  "availability" : [
    "macOS: 10.14.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHProjectMapElement",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:objc(cs)PHProjectMapElement"
  },
  "title" : "PHProjectMapElement"
}
-->

# PHProjectMapElement

An element that represents a map within project section content.

```
class PHProjectMapElement
```

## Topics

### Pinpointing the Map

[`var mapType: MKMapType`](/documentation/PhotosUI/PHProjectMapElement/mapType)

The type of map in the project.

[`var centerCoordinate: CLLocationCoordinate2D`](/documentation/PhotosUI/PHProjectMapElement/centerCoordinate)

The coordinates of the center of the map.

[`var heading: CLLocationDirection`](/documentation/PhotosUI/PHProjectMapElement/heading)

The heading of the map.

[`var pitch: CGFloat`](/documentation/PhotosUI/PHProjectMapElement/pitch)

The pitch of the map.

[`var altitude: CLLocationDistance`](/documentation/PhotosUI/PHProjectMapElement/altitude)

The altitude of the map.

[`var annotations: [any MKAnnotation]`](/documentation/PhotosUI/PHProjectMapElement/annotations)

An array of optional annotations attached to the map.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Sendable`](/documentation/Swift/Sendable)

### Inherits From

[`PHProjectElement`](/documentation/PhotosUI/PHProjectElement)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)