-
public final class MapRouteOverrideSPEC-451 — a route handed to a
mapblock at runtime.polylineis Google's encoded-polyline format, which is what every routing service returns and what Mapbox'spathoverlay takes. Supplying it draws the real road geometry; supplying onlystopsdraws straight lines between them. Both together is the normal case: the line follows the roads and the pins mark the stops.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringpolylineprivate final List<MapRouteStop>stops
-
Constructor Summary
Constructors Constructor Description MapRouteOverride(String polyline, List<MapRouteStop> stops)
-
Method Summary
Modifier and Type Method Description final StringgetPolyline()final List<MapRouteStop>getStops()-
-
Constructor Detail
-
MapRouteOverride
MapRouteOverride(String polyline, List<MapRouteStop> stops)
-
-
Method Detail
-
getPolyline
final String getPolyline()
-
getStops
final List<MapRouteStop> getStops()
-
-
-
-