iOS SDK

API Reference

On This Page

MGLLineJoin

enum MGLLineJoin {}

The display of lines when joining.

Values of this type are used in the MGLLineStyleLayer.lineJoin property.

MGLLineJoinBevel

A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line’s width.

Declaration

Objective-C

MGLLineJoinBevel

Swift

case bevel = 0

MGLLineJoinRound

A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line’s width and centered on the endpoint of the line.

Declaration

Objective-C

MGLLineJoinRound

Swift

case round = 1

MGLLineJoinMiter

A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet.

Declaration

Objective-C

MGLLineJoinMiter

Swift

case miter = 2