Step Milestone
open class StepMilestone(val identifier: Int, instruction: Instruction? = null, val trigger: Trigger.Statement? = null) : Milestone
Using a Step Milestone will result in MilestoneEventListener.onMilestoneEvent being invoked every step if the condition validation returns true.
Since
0.4.0
Functions
Link copied to clipboard
Link copied to clipboard
open override fun isOccurring(previousRouteProgress: RouteProgress?, routeProgress: RouteProgress): Boolean
A milestone can either be passed in to the MapLibreNavigation object (recommended) or validated directly inside your activity.