-
- All Implemented Interfaces:
public final class RouteRenderOptionsOptions that define how the route will be styled for rendering
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanstyleWithTrafficprivate RouteEdgeIndexunreachableEdgeIndex
-
Constructor Summary
Constructors Constructor Description RouteRenderOptions(Boolean styleWithTraffic, RouteEdgeIndex unreachableEdgeIndex)
-
Method Summary
Modifier and Type Method Description final BooleangetStyleWithTraffic()Denote whether or not to use traffic information to style the route accordingly. final UnitsetStyleWithTraffic(Boolean styleWithTraffic)Denote whether or not to use traffic information to style the route accordingly. final RouteEdgeIndexgetUnreachableEdgeIndex()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 UnitsetUnreachableEdgeIndex(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
-
-
-
-