use of com.mapbox.api.directions.v5.models.IntersectionLanes in project mapbox-navigation-android by mapbox.
the class TurnLaneAdapter method onBindViewHolder.
@Override
public void onBindViewHolder(TurnLaneViewHolder holder, int position) {
IntersectionLanes lane = lanes.get(position);
holder.turnLaneView.updateLaneView(lane, maneuverModifier);
}
use of com.mapbox.api.directions.v5.models.IntersectionLanes in project mapbox-navigation-android by mapbox.
the class InstructionStepResources method intersectionTurnLanes.
private void intersectionTurnLanes(LegStep step) {
StepIntersection intersection = step.intersections().get(0);
List<IntersectionLanes> lanes = intersection.lanes();
if (checkForNoneIndications(lanes)) {
turnLanes = null;
return;
}
turnLanes = lanes;
}
Aggregations