create Current Annotation
fun createCurrentAnnotation(currentLegAnnotation: CurrentLegAnnotation?, leg: RouteLeg, legDistanceRemaining: Double): CurrentLegAnnotation?
Given a list of distance annotations, find the current annotation index. This index retrieves the current annotation from any provided annotation list in LegAnnotation.
Return
a current set of annotation data for the user's position along the route
Parameters
current Leg Annotation
current annotation being traveled along
leg
holding each list of annotations
leg Distance Remaining
to determine the new set of annotations