InnerPolygonOptions
public class InnerPolygonOptions : AnnotationOptions
Options that defines inner polygon. Can be used with PolygonOverlayOptions
.
-
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?