SdkRouteSection
class SdkRouteSection(var index: Int)The sections will be a collection of steps that will be painted by the map at the same time. The sections also will be ordered by the order of the steps.
Constructors
SdkRouteSection | constructor(index: Int ) |
Types
| Name | Summary |
|---|---|
Companion | object Companion |
Properties
floor
var floor: Stringindex
var index: IntIndex of the section in the route
pointsLatLng
var pointsLatLng: List<SdkLatLngDTO>stepIndices
var stepIndices: List<Int>steps
var steps: List<SdkStepRoute>Types: SdkStepRoute
Functions
addStep
fun addStep(index: Int, step: SdkStepRoute)Types: SdkStepRoute
Add a step to the section
containsStepIndex
fun containsStepIndex(targetIndex: Int): BooleanReturn true if the passed index is in this sections
Last updated on