PMManeuver

data class PMManeuver(val coordinates: PMGeoCoordinates? = null, val maneuverType: PMManeuverType, val distance: Int = 0, val distanceFromStart: Int = 0, val road: PMRoad? = null, val nextRoad: PMRoad? = null, val exitNumber: String? = null, val roundaboutExit: Int = 0)

Represents information about maneuver on the route

Constructors

Link copied to clipboard
fun PMManeuver(coordinates: PMGeoCoordinates? = null, maneuverType: PMManeuverType, distance: Int = 0, distanceFromStart: Int = 0, road: PMRoad? = null, nextRoad: PMRoad? = null, exitNumber: String? = null, roundaboutExit: Int = 0)

Properties

Link copied to clipboard

Defines position of the maneuver

Link copied to clipboard
val distance: Int = 0

Defines distance to maneuver from current on route position in meters

Link copied to clipboard
Link copied to clipboard
val exitNumber: String? = null

Defines exit number

Link copied to clipboard

Defines type of direction maneuver
Default value is PMManeuverType.None

Link copied to clipboard
val nextRoad: PMRoad? = null

Defines information about the next road on which the maneuver takes place

Link copied to clipboard
val road: PMRoad? = null

Defines information about the road on which the maneuver takes place

Link copied to clipboard

Defines number of roundabout exit