---
title: miterLimit
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkoverlaypathrenderer/miterlimit
---

# miterLimit

The limiting value that helps avoid spikes at junctions between connected line segments.

## Declaration

```swift
var miterLimit: CGFloat { get set }
```

## Discussion

Discussion The miter limit helps you avoid spikes in paths that use the CGLineJoin.miter join style. If the ratio of the miter length to the line thickness — the diagonal length of the miter join — exceeds the miter limit, the renderer converts the joint to a bevel join. The default miter limit is 10, which results in the conversion of miters with an angle at the joint of less than 11 degrees.

## See Also

### Accessing the drawing attributes

- [fillColor](mapkit/mkoverlaypathrenderer/fillcolor.md)
- [strokeColor](mapkit/mkoverlaypathrenderer/strokecolor.md)
- [lineWidth](mapkit/mkoverlaypathrenderer/linewidth.md)
- [lineJoin](mapkit/mkoverlaypathrenderer/linejoin.md)
- [lineCap](mapkit/mkoverlaypathrenderer/linecap.md)
- [lineDashPhase](mapkit/mkoverlaypathrenderer/linedashphase.md)
- [lineDashPattern](mapkit/mkoverlaypathrenderer/linedashpattern.md)
