<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/Map/init(position:bounds:interactionModes:selection:scope:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MapKit",
      "SwiftUI",
      "_MapKit_SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A0V8position6bounds16interactionModes9selection5scopeACyAA0A11ContentViewVyAA0A7FeatureVAA05EmptyaK0VGG0cD07BindingVyAA0A14CameraPositionVG_AA0aP6BoundsVSgAA0a11InteractionH0VASyALSgGAQ9NamespaceV2IDVSgtcAORszrlufc"
  },
  "title" : "init(position:bounds:interactionModes:selection:scope:)"
}
-->

# init(position:bounds:interactionModes:selection:scope:)

Creates a new map with the initial camera position, bounds, interaction modes, scope, and content you provide.

```
@MainActor @preconcurrency init(position: Binding<MapCameraPosition>, bounds: MapCameraBounds? = nil, interactionModes: MapInteractionModes = .all, selection: Binding<MapFeature?>, scope: Namespace.ID? = nil) where Content == MapContentView<MapFeature, EmptyMapContent>
```

## Parameters

`position`

The initial [`MapCameraPosition`](/documentation/MapKit/MapCameraPosition).

`bounds`

The [`MapCameraBounds`](/documentation/MapKit/MapCameraBounds) that define the camera’s view of the map.

`interactionModes`

The [`MapInteractionModes`](/documentation/MapKit/MapInteractionModes) that describe ways a person can interact with the map.

`selection`

A binding to a [`MapFeature`](/documentation/MapKit/MapFeature) that represents a person’s selection.

`scope`

The map’s <doc://com.apple.documentation/documentation/SwiftUI/Namespace/ID>.

---

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)