Contents

shouldRasterize

A Boolean value that determines whether the overlay path renderer renders the overlay as a bitmap before compositing.

Declaration

var shouldRasterize: Bool { get set }

Discussion

The default value is false.

Whenever possible, MapKit vectorizes overlay shapes by default so that they scale along with the map and remain sharp. In some cases, you may want to force the rasterization of an overlay and not vectorize it. Set this variable to true to force the overlay path renderer to render the overlay as a bitmap.

See Also

Drawing the path