<!--
{
  "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/MapContentView",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A11ContentViewV"
  },
  "title" : "MapContentView"
}
-->

# MapContentView

A view that contains content that displays on a map at a specific position, and that responds to specific interactions you specify.

```
@MainActor @preconcurrency struct MapContentView<SelectionValue, Content> where SelectionValue : Hashable, Content : MapContent
```

## Topics

### Managing feature selection

  <doc://com.apple.documentation/documentation/SwiftUI/View/mapFeatureSelectionContent(content:)>

  <doc://com.apple.documentation/documentation/SwiftUI/View/mapFeatureSelectionDisabled(_:)>

### Managing Look Around view presentation

  <doc://com.apple.documentation/documentation/SwiftUI/View/lookAroundViewer(isPresented:initialScene:allowsNavigation:showsRoadLabels:pointsOfInterest:onDismiss:)>

  <doc://com.apple.documentation/documentation/SwiftUI/View/lookAroundViewer(isPresented:scene:allowsNavigation:showsRoadLabels:pointsOfInterest:onDismiss:)>

### Managing map control sizing and visibility

  <doc://com.apple.documentation/documentation/SwiftUI/View/mapControlVisibility(_:)>

  <doc://com.apple.documentation/documentation/SwiftUI/View/mapControls(_:)>

### Managing the camera

  <doc://com.apple.documentation/documentation/SwiftUI/View/mapCameraKeyframeAnimator(trigger:keyframes:)>

  <doc://com.apple.documentation/documentation/SwiftUI/View/onMapCameraChange(frequency:_:)-2pcga>

  <doc://com.apple.documentation/documentation/SwiftUI/View/onMapCameraChange(frequency:_:)>

### Setting the visibility of the title and subtitle

[`annotationTitles(_:)`](/documentation/MapKit/MapContent/annotationTitles(_:))

Sets the visibility of titles for markers and annotations.

[`annotationSubtitles(_:)`](/documentation/MapKit/MapContent/annotationSubtitles(_:))

Sets the visibility of subtitles for markers and annotations.

### Setting the namespace Identifier

  <doc://com.apple.documentation/documentation/SwiftUI/View/mapScope(_:)>

### Setting the map style

  <doc://com.apple.documentation/documentation/SwiftUI/View/mapStyle(_:)>



---

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)