setVehicleVerticalPosition

fun setVehicleVerticalPosition(verticalVehiclePos: Double = 0.23): Boolean

Sets the vertical position of the vehicle symbol on the attached MapView. The position is defined as a percentage of the MapView height, measured from the bottom of the screen.

Return

true if the position was successfully set, false if no MapView is attached or if the parameter is outside the valid range 0.0, 1.0

Parameters

verticalVehiclePos

The vertical position as a percentage of the MapView height from the bottom (default is 0.23, which places the vehicle at 23% from the bottom). Must be in range 0.0, 1.0