iOS reference / _MapKit_SwiftUI / MapProxy_MapKit_SwiftUI · IOS API REFERENCE
MapProxy struct · iOS 17.0+ · SDK 27.1
struct MapProxyA proxy for accessing sizing information about a given map view.
Members (3) method · iOS 17.0+ camera TypeScript cameraFramingAllowPitch(item: _MapKit_MKMapItem, allowPitch?: boolean): MapCameraSwift declaration func camera(framing item: MKMapItem, allowPitch: Bool = true) -> MapCameraCreates a camera in the context of the map being read that frames the given map item.
- Parameters:
- item: The map item to frame.
- allowPitch: If the camera can be pitched to frame the content.
method · iOS 17.0+ camera TypeScript cameraFraming(region: _MapKit_MKCoordinateRegion): MapCameraSwift declaration func camera(framing region: MKCoordinateRegion) -> MapCameraCreates a camera in the context of the map being read that frames the given coordinate region.
- Parameter region: The coordinate region to frame.
method · iOS 17.0+ camera TypeScript cameraFraming43310(rect: _MapKit_MKMapRect): MapCameraSwift declaration func camera(framing rect: MKMapRect) -> MapCameraCreates a camera in the context of the map being read that frames the given map rect.
- Parameter rect: The map rect to frame.
Skipped declarations 2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MapProxy.convert(_:from:)
This parameter hides a concrete Swift type.
MapProxy.convert(_:to:)
This parameter hides a concrete Swift type.
All _MapKit_SwiftUI types →