MPHighway

open class MPHighway

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
annotation class Code
Link copied to clipboard
annotation class Name

Functions

Link copied to clipboard
open fun fromCode(highwayCode: Int): String
Link copied to clipboard
open fun toCode(@Nullable highway: String): Int
Link copied to clipboard
open fun toSpeed(@Nullable highway: String): Float

Properties

Link copied to clipboard
val ELEVATOR: String = "elevator"
Link copied to clipboard
Link copied to clipboard
val ELEVATOR_SPEED: Float = 1.0f
Link copied to clipboard
val ESCALATOR: String = "escalator"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val FOOTWAY: String = "footway"
Link copied to clipboard
val FOOTWAY_CODE: Int = 1
Link copied to clipboard
val FOOTWAY_SPEED: Float = 1.0f
Link copied to clipboard
val LADDER: String = "ladder"
Link copied to clipboard
val LADDER_CODE: Int = 11
Link copied to clipboard
val LADDER_SPEED: Float = 0.25f
Link copied to clipboard
val RAMP: String = "ramp"
Link copied to clipboard
val RAMP_CODE: Int = 4
Link copied to clipboard
val RAMP_SPEED: Float = 0.7f
Link copied to clipboard
val RESIDENTIAL: String = "residential"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val SERVICE: String = "service"
Link copied to clipboard
val SERVICE_CODE: Int = 3
Link copied to clipboard
val SERVICE_SPEED: Float = 1.0f
Link copied to clipboard
val STEPS: String = "steps"
Link copied to clipboard
val STEPS_CODE: Int = 5
Link copied to clipboard
val STEPS_SPEED: Float = 0.5f
Link copied to clipboard
val TRAVELATOR: String = "travelator"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val UNCLASSIFIED: String = "unclassified"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val WHEELCHAIRLIFT: String = "wheelchairlift"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val WHEELCHAIRRAMP: String = "wheelchairramp"
Link copied to clipboard
Link copied to clipboard