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

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

Creates a new, empty map with the bounds, interaction modes, a binding to a map feature, and scope you provide.

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

## Parameters

`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)