<!--
{
  "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/MapContent/tint(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit",
      "SwiftUI",
      "_MapKit_SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A7ContentPAAE4tintyQrqd__0cD010ShapeStyleRd__lF"
  },
  "title" : "tint(_:)"
}
-->

# tint(_:)

The tint shape style to apply to map content.

```
@MainActor @preconcurrency func tint<S>(_ tint: S) -> some MapContent where S : ShapeStyle
```

## Parameters

`tint`

The tint to apply.

## Return Value

Returns [`MapContent`](/documentation/MapKit/MapContent) with overlays drawn with the <doc://com.apple.documentation/documentation/SwiftUI/ShapeStyle> you specified.

---

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)