RouteView

Package: com.eegeo.mapapi.widgets

Constructors

RouteView(EegeoMap map, Route route, RouteViewOptions options)

Create a new RouteView for the given route and options, and add it to the map.

Type argument Description
EegeoMap map The EegeoMap to draw this RouteView on.
Route route The Route to display.
RouteViewOptions options Options for styling the route.

Methods

void addToMap()

Add this RouteView back on to the map, if it has been removed.

void removeFromMap()

Remove this RouteView from the map.

void setWidth(float width)

Sets the width of this RouteView’s polylines.

Type argument Description
float width The width of the polyline in screen pixels.

void setColor(int color)

Sets the color for this RouteView’s polylines.

Type argument Description
int color The color of the polyline as a 32-bit ARGB color.

void setMiterLimit(float miterLimit)

Sets the miter limit of this RouteView’s polylines.

Type argument Description
float miterLimit the miter limit, as a ratio between maximum allowed miter join diagonal length and the line width.
v0.0.1120
Overview Introduction
Picking PickResult
Widgets (Optional) BlueSphere
Tag Service (Optional) TagService OnTagsLoadCompletedListener
RouteView Widget (Optional) RouteView RouteViewOptions