GeoARViewConfig

data class GeoARViewConfig(val navigationVisibilityDistance: Double? = null, val stepInstructionAltitude: Double = 1.5, val directionalArrow: GeoARViewConfig.DirectionalArrow = DirectionalArrow(), internalConfig: GeoARViewConfig.InternalConfig = InternalConfig())

Configuration for a GeoARView. All values take effect at view creation and cannot be changed afterward.

Session-wide settings (environment, itinerary recalculation, projections, etc.) live on the com.getwemap.sdk.core.configs.SessionConfig passed to the session, not here.

Constructors

Link copied to clipboard
constructor(navigationVisibilityDistance: Double? = null, stepInstructionAltitude: Double = 1.5, directionalArrow: GeoARViewConfig.DirectionalArrow = DirectionalArrow(), internalConfig: GeoARViewConfig.InternalConfig = InternalConfig())

Types

Link copied to clipboard
data class DirectionalArrow(val targetDistance: Double = 5.0, val targetAltitude: Double = 1.0, val xPercentageOfView: Float = 0.5f, val yPercentageOfView: Float = 0.8f, val distanceFromCamera: Float = 0.5f, val scale: Float = 1.0f)

Configuration for the directional arrow overlay.

Properties

Link copied to clipboard

Configuration for the directional arrow overlay shown when the next waypoint is off-screen.

Link copied to clipboard

Maximum distance at which AR navigation annotations are rendered, in meters.

Link copied to clipboard

The altitude above ground at which step instruction labels appear, in meters.