Skip to content

Commit 552011d

Browse files
author
Cameron Mace
committed
added setter for newly added leg annotation
1 parent bcba361 commit 552011d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/models

mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/models/RouteLeg.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,8 @@ public void setSteps(List<LegStep> steps) {
113113
public LegAnnotation getAnnotation() {
114114
return annotation;
115115
}
116+
117+
public void setAnnotation(LegAnnotation annotation) {
118+
this.annotation = annotation;
119+
}
116120
}

0 commit comments

Comments
 (0)