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

# MapCircle

A circular overlay with a configurable radius that you center on a geographic coordinate.

```
struct MapCircle
```

## Overview

Use this view to create circular overlays in the closure you provide to the `content` parameter in [`Map`](/documentation/MapKit/Map) initializers.

## Topics

### Creating a map circle

[`init(_:)`](/documentation/MapKit/MapCircle/init(_:))

Creates a circle overlay from an existing map circle object.

[`init(center:radius:)`](/documentation/MapKit/MapCircle/init(center:radius:))

Creates a circle with the center coordinate and radius you specify.

[`init(mapRect:)`](/documentation/MapKit/MapCircle/init(mapRect:))

Creates the largest possible circle centered within the given map rectangle.

### Styling the circle

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

Specifies the shape style used to fill content in drawing map overlays.

[`stroke(_:lineWidth:)`](/documentation/MapKit/MapContent/stroke(_:lineWidth:))

Applies the given shape style to drawn map overlays using the line width you specify.

[`stroke(_:style:)`](/documentation/MapKit/MapContent/stroke(_:style:))

Applies the given shape style to drawn map overlays using the stroke style you specify.

[`stroke(lineWidth:)`](/documentation/MapKit/MapContent/stroke(lineWidth:))

Applies the given stoke drawn map overlays using the line width you specify.

[`strokeStyle(style:)`](/documentation/MapKit/MapContent/strokeStyle(style:))

Applies the given stroke style to drawn map overlays.

### Setting the overlay level

[`mapOverlayLevel(level:)`](/documentation/MapKit/MapContent/mapOverlayLevel(level:))

Specifies the position of overlays relative to other map content.

### Type aliases

[`Body`](/documentation/MapKit/MapContent/Body-swift.associatedtype)

The content and behavior of the view.

## Relationships

### Conforms To

[`Copyable`](/documentation/Swift/Copyable)

[`Escapable`](/documentation/Swift/Escapable)

[`MapContent`](/documentation/MapKit/MapContent)

---

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)