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.-
Creates an instance of
InnerPolygonOptions
.Declaration
Swift
public init( fillColor: PolygonOverlayOptions.Color, coordinates: [CLLocationCoordinate2D], nestedPolygonOptions: InnerPolygonOptions? = nil )
-
The color for filling the polygon area.
Declaration
Swift
public let fillColor: PolygonOverlayOptions.Color
-
List of coordinates of the vertices of a polygon.
Declaration
Swift
public let coordinates: [CLLocationCoordinate2D]
-
Nested polygon options. Can be used to add multiple polygons inside.
Declaration
Swift
public var nestedPolygonOptions: InnerPolygonOptions?