List of coordinates of the vertices of a polygon.
Declaration
Swift
@EquatableWrapper
public private(set) var coordinates: [CLLocationCoordinate2D] { get set }
Fill color of the polygon. Default is blue.
Declaration
Swift
public var fillColor: UIColor
Creates an instance of PolygonOptions from a list of CLLocationCoordinate2D
s.
Warning
VerticesCLLocationCoordinate2D
s should be in CCW order.
Declaration
Swift
public init(coordinates: [CLLocationCoordinate2D])
Parameters
coordinates
|
List of |
Creates an instance of PolygonOptions from an encoded string.
Declaration
Swift
public init(polyline: String)
Parameters
polyline
|
String with the encoded polyline. |
Indicates if given annotation can produce delegate call on MapDelegate
, default value is set to true
.
Declaration
Swift
public var isSelectable: Bool
Color of the outline of the polygon. Default value is clear color.
Declaration
Swift
public var outlineColor: UIColor
Width of the outline of the polygon. Default value is 0.
Declaration
Swift
public var outlineWidth: Double
TextureOptions
of the polygon.
Declaration
Swift
public var textureOptions: TextureOptions?