InnerPolygonOptions
public class InnerPolygonOptions : AnnotationOptions
Options that defines inner polygon. Can be used with PolygonOverlayOptions
.
Important
This is a Public Preview API. It may be changed or removed at any time.List of coordinates of the vertices of a polygon.
Declaration
Swift
public let coordinates: [CLLocationCoordinate2D]
The color for filling the polygon area.
Declaration
Swift
public let fillColor: PolygonOverlayOptions.Color
Creates an instance of InnerPolygonOptions
.
Declaration
Swift
public init(
fillColor: PolygonOverlayOptions.Color,
coordinates: [CLLocationCoordinate2D],
nestedPolygonOptions: InnerPolygonOptions? = nil
)
Nested polygon options. Can be used to add multiple polygons inside.
Declaration
Swift
public var nestedPolygonOptions: InnerPolygonOptions?