<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MapProxy/convert(_:from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A5ProxyV7convert_4fromSo22CLLocationCoordinate2DVSgSo7CGPointV_xt0cD023CoordinateSpaceProtocolRzlF"
  },
  "title" : "convert(_:from:)"
}
-->

# convert(_:from:)

Converts a point in the specified coordinate space to a map coordinate.

```
func convert(_ point: CGPoint, from space: some CoordinateSpaceProtocol) -> CLLocationCoordinate2D?
```

## Parameters

`point`

The point to convert.

`space`

The reference coordinate space for `point`.

## Return Value

Returns a <doc://com.apple.documentation/documentation/CoreLocation/CLLocationCoordinate2D>; or `nil,` if the specified `point` isn’t represented by a point in the [`MapReader`](/documentation/MapKit/MapReader) associated with a [`Map`](/documentation/MapKit/Map).

---

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)