-
- All Implemented Interfaces:
public final class RouteRenderOptions
Options that define how the route will be styled for rendering
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
styleWithTraffic
private RouteEdgeIndex
unreachableEdgeIndex
-
Constructor Summary
Constructors Constructor Description RouteRenderOptions(Boolean styleWithTraffic, RouteEdgeIndex unreachableEdgeIndex)
-
Method Summary
Modifier and Type Method Description final Boolean
getStyleWithTraffic()
Denote whether or not to use traffic information to style the route accordingly. final Unit
setStyleWithTraffic(Boolean styleWithTraffic)
Denote whether or not to use traffic information to style the route accordingly. final RouteEdgeIndex
getUnreachableEdgeIndex()
Mark the index that describes the point on the route which the destination will be unreachable NOTE: Out of range meaning the vehicle is out of fuel/electricity final Unit
setUnreachableEdgeIndex(RouteEdgeIndex unreachableEdgeIndex)
Mark the index that describes the point on the route which the destination will be unreachable NOTE: Out of range meaning the vehicle is out of fuel/electricity -
-
Constructor Detail
-
RouteRenderOptions
RouteRenderOptions(Boolean styleWithTraffic, RouteEdgeIndex unreachableEdgeIndex)
-
-
Method Detail
-
getStyleWithTraffic
final Boolean getStyleWithTraffic()
Denote whether or not to use traffic information to style the route accordingly. NOTE: Default is true
-
setStyleWithTraffic
final Unit setStyleWithTraffic(Boolean styleWithTraffic)
Denote whether or not to use traffic information to style the route accordingly. NOTE: Default is true
-
getUnreachableEdgeIndex
final RouteEdgeIndex getUnreachableEdgeIndex()
Mark the index that describes the point on the route which the destination will be unreachable NOTE: Out of range meaning the vehicle is out of fuel/electricity
-
setUnreachableEdgeIndex
final Unit setUnreachableEdgeIndex(RouteEdgeIndex unreachableEdgeIndex)
Mark the index that describes the point on the route which the destination will be unreachable NOTE: Out of range meaning the vehicle is out of fuel/electricity
-
-
-
-