Class IdentifiableRoute
-
- All Implemented Interfaces:
public final class IdentifiableRouteA wrapper class for DirectionsRoute that includes an identity property that can be used to override the color of the route line.
-
-
Field Summary
Fields Modifier and Type Field Description private final DirectionsRouterouteprivate final StringrouteIdentifier
-
Constructor Summary
Constructors Constructor Description IdentifiableRoute(DirectionsRoute route, String routeIdentifier)
-
Method Summary
Modifier and Type Method Description final DirectionsRoutegetRoute()final StringgetRouteIdentifier()
-
-
-
Constructor Detail
-
IdentifiableRoute
IdentifiableRoute(DirectionsRoute route, String routeIdentifier)
- Parameters:
route- a DirectionsRoute to associate with an identifierrouteIdentifier- the identifier for the route
-
-
Method Detail
-
getRoute
final DirectionsRoute getRoute()
-
getRouteIdentifier
final String getRouteIdentifier()
-
-