-
Creates an instance of PolygonOptions from an encoded string.
Declaration
Swift
public init(polyline: String)Parameters
polylineString with the encoded polyline.
-
Creates an instance of PolygonOptions from a list of
CLLocationCoordinate2Ds.Warning
VerticesCLLocationCoordinate2Ds should be in CCW order.Declaration
Swift
public init(coordinates: [CLLocationCoordinate2D])Parameters
coordinatesList of
CLLocationCoordinate2Ds.
-
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 -
Width of the outline of the polygon. Default value is 0.
Declaration
Swift
public var outlineWidth: Double -
Color of the outline of the polygon. Default value is clear color.
Declaration
Swift
public var outlineColor: UIColor -
TextureOptionsof the polygon.Declaration
Swift
public var textureOptions: TextureOptions? -
Indicates if given annotation can produce delegate call on
MapDelegate, default value is set totrue.Declaration
Swift
public var isSelectable: Bool
TomTom SDK for iOS (0.53.1)
PolygonOptions