WRLDRouteViewOptions Class Reference

Defines creation parameters for a RouteView. The styling options match with those of the PolylineOptions class

– width:

- (WRLDRouteViewOptions *)width:(CGFloat)width

Sets the width of the RouteView’s polylines in screen pixels.

Returns:

The RouteViewOptions object on which the method was called, with the new width set.

Argument Description
width

The width in screen pixels.

– color:

- (WRLDRouteViewOptions *)color:(UIColor *)color

Sets the color of the RouteView’s polylines as a 32-bit ARGB color. The default value is opaque blue (0xff0096ff).

Returns:

The RouteViewOptions object on which the method was called, with the new color set.

Argument Description
color

The color to use.

– forwardPathColor:

- (WRLDRouteViewOptions *)forwardPathColor:(UIColor *)color

Sets the forward path color of the RouteView’s polylines as a 32-bit ARGB color. The default value is opaque green (0xff00ff96).

Returns:

The RouteViewOptions object on which the method was called, with the new color set.

Argument Description
color

The color to use.

– miterLimit:

- (WRLDRouteViewOptions *)miterLimit:(CGFloat)miterLimit

Sets the miter limit of the RouteView’s polylines, the maximum allowed ratio between the length of a miter diagonal at a join, and the line width.

Returns:

The RouteViewOptions object on which the method was called, with the new miter limit set.

Argument Description
miterLimit

The miter limit.

– getWidth

- (CGFloat)getWidth

– getColor

- (UIColor *)getColor

– getForwardPathColor

- (UIColor *)getForwardPathColor

– getMiterLimit

- (CGFloat)getMiterLimit
v0.0.1600