<!--
{
  "availability" : [
    "iOS: 14.0.0 - 17.0.0",
    "iPadOS: 14.0.0 - 17.0.0",
    "macCatalyst: -",
    "macOS: 11.0.0 - 14.0.0",
    "tvOS: 14.0.0 - 17.0.0",
    "visionOS: -",
    "watchOS: 7.0.0 - 10.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/Map/init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:annotationItems:annotationContent:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A0V16coordinateRegion16interactionModes17showsUserLocation16userTrackingMode15annotationItems0O7ContentACyAA017_DefaultAnnotatedaQ0Vyqd__GG0cD07BindingVySo012MKCoordinateF0aG_AA0a11InteractionH0VSbAPyAA0ajmN0OGSgqd__qd_0_7ElementQyd__ctcALRszSkRd__AA0A18AnnotationProtocolRd_0_s12IdentifiableA_RQr0_lufc"
  },
  "title" : "init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:annotationItems:annotationContent:)"
}
-->

# init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:annotationItems:annotationContent:)

Creates a map that displays a coordinate region with annotations, and optionally configures available interactions, user location, and tracking behavior.

```
@MainActor @preconcurrency init<Items, Annotation>(coordinateRegion: Binding<MKCoordinateRegion>, interactionModes: MapInteractionModes = .all, showsUserLocation: Bool = false, userTrackingMode: Binding<MapUserTrackingMode>? = nil, annotationItems: Items, annotationContent: @escaping (Items.Element) -> Annotation) where Content == _DefaultAnnotatedMapContent<Items>, Items : RandomAccessCollection, Annotation : MapAnnotationProtocol, Items.Element : Identifiable
```

## Parameters

`coordinateRegion`

A binding to a region that corresponds to an area to display on the map.

`interactionModes`

An enumeration that indicates the user interactions to which the map responds.

`showsUserLocation`

A Boolean value that indicates the option to display a person’s location on a map. The map displays the location only if they authorized the app to access their location.

`userTrackingMode`

A binding to a tracking mode that determines how the map responds to location updates.

`annotationItems`

The collection of data that the view uses to display annotations.

`annotationContent`

A closure that produces the annotation content.

---

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)