PolygonOverlayOptions

public class PolygonOverlayOptions : AnnotationOptions

Options for creating a PolygonOverlay.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Creates an instance of PolygonOverlayOptions.

    Declaration

    Swift

    public init(outerColor: Color, innerPolygonOptions: InnerPolygonOptions)

    Parameters

    outerColor

    Specifies the color that is used to fill the outer area of the polygon.

    innerPolygonOptions

    Specifies the inner polygon options, such as fill color, coordinates, and nested polygon options for multiple nested polygons.

  • Represents an enumeration of color(UIColor) and colorForScene([SceneLevel: UIColor]). It is used to group color information for a given annotation.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum Color : Equatable
  • Specifies the color that is used to fill the outer area of the polygon.

    Declaration

    Swift

    public let outerColor: Color
  • Specifies the inner polygon options, such as fill color, coordinates, and nested polygon options for multiple nested polygons.

    Declaration

    Swift

    public let innerPolygonOptions: InnerPolygonOptions