<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapCamera/init(lookingAtCenter:fromEyeCoordinate:eyeAltitude:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKMapCamera(cm)cameraLookingAtCenterCoordinate:fromEyeCoordinate:eyeAltitude:"
  },
  "title" : "init(lookingAtCenter:fromEyeCoordinate:eyeAltitude:)"
}
-->

# init(lookingAtCenter:fromEyeCoordinate:eyeAltitude:)

Returns a new camera object using the specified viewing angle information.

```
convenience init(lookingAtCenter centerCoordinate: CLLocationCoordinate2D, fromEyeCoordinate eyeCoordinate: CLLocationCoordinate2D, eyeAltitude: CLLocationDistance)
```

## Parameters

`centerCoordinate`

The coordinate point on which the framework centers the map.

`eyeCoordinate`

The coordinate point at which to place the camera. If the value for this parameter is equal to the value in the `centerCoordinate` parameter, the framework displays the map as if the camera is looking straight down. If this point is offset from the `centerCoordinate` value, the framework displays the map with an appropriate heading and pitch angle.

`eyeAltitude`

The altitude (in meters) above the ground at which to place the camera.

## Return Value

A new camera object that initializes with the specified information.

## Discussion

This method calculates the required pitch and heading angles to accommodate the specified eye position and altitude.

---

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)