RouteViewOptions

Package: com.eegeo.mapapi.widgets

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

Constructors

RouteViewOptions()

Methods

RouteViewOptions width(float 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.

Type argument Description
float width The width in screen pixels.

RouteViewOptions color(int 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.

Type argument Description
int color The color to use.

RouteViewOptions forwardPathColor(int 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.

Type argument Description
int color The color to use.

RouteViewOptions miterLimit(float 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.

Type argument Description
float miterLimit The miter limit.
v0.0.1467
Overview Introduction
Picking PickResult
Widgets (Optional) BlueSphere
Tag Service (Optional) TagService OnTagsLoadCompletedListener
RouteView Widget (Optional) RouteView RouteViewOptions