Instance Property

alpha

The amount of transparency to apply to the overlay.

Declaration

var alpha: CGFloat { get set }

Discussion

The value in this property can be in the range 0.0 to 1.0, where 0.0 represents total transparency and 1.0 represents total opacity. The default value of this property is 1.0.

See Also

Attributes of the Overlay

var overlay: MKOverlay

The overlay object containing the data for drawing.

var contentScaleFactor: CGFloat

The scale factor used to draw the overlay’s content.