WRLDRouteViewOptions Class Reference
Defines creation parameters for a RouteView. The styling options match with those of the PolylineOptions class
– 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:
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:
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:
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. |