Skip to Content
API ReferenceModelsLocationBasedStep

LocationBasedStep

data class LocationBasedStep(val stepIndex: Int, val inside: Boolean)

Associates a route step index with its indoor/outdoor classification.

This model is used by the map rendering layer to determine which route steps should be rendered on the current floor view. By tagging each step with whether it occurs inside a building, the map can selectively show or hide route segments based on the currently displayed floor.

See also

SdkRoute
SdkStepRoute
SdkRouteSection

Constructors

LocationBasedStepconstructor(stepIndex: Int , inside: Boolean )

Properties

inside

val inside: Boolean

true if this step occurs inside a building, false if it is outdoors.

stepIndex

val stepIndex: Int

Zero-based index of the step within the flattened list of route steps (as returned by SdkRoute.getSteps).

Last updated on