PolylineOptions | iOS SDK | Urbi Documentation
iOS SDK

PolylineOptions

Polyline parameters.

public init(
    points: [GeoPoint],
    width: LogicalPixel = LogicalPixel(value: 1),
    color: Color = Color(),
    erasedPart: Double = 0,
    dashedPolylineOptions: DashedPolylineOptions? = nil,
    gradientPolylineOptions: GradientPolylineOptions? = nil,
    visible: Bool = true,
    userData: Any = (),
    zIndex: ZIndex = ZIndex(value: 0),
    levelId: LevelId? = nil
)
Parameters
points
width
color
erasedPart
dashedPolylineOptions
gradientPolylineOptions
visible
zIndex
levelId
Properties

Polyline points.

Polyline width.

Main color of the polyline.

Proportion of erased part of the polyline, must be in the range [0; 1].

Parameters of the dotted polyline.

Parameters of the gradient polyline.

Visibility of polyline.

Any

User data.

Object drawing level.

Binding to the floor plan of the building.