<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKTileOverlay/canReplaceMapContent",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKTileOverlay(py)canReplaceMapContent"
  },
  "title" : "canReplaceMapContent"
}
-->

# canReplaceMapContent

A Boolean value that indicates whether the tile content is fully opaque.

```
var canReplaceMapContent: Bool { get set }
```

## Discussion

If the tile content you provide can cover the entire drawing area with opaque content, set this property to <doc://com.apple.documentation/documentation/Swift/true>. Doing so serves as a hint to the map view that it doesn’t need to draw any additional content underneath your tiles. Set this property to <doc://com.apple.documentation/documentation/Swift/false> if your tiles contain any transparency.

The default value for this property is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)
