RoadClass

object RoadClass

Holds available RoadClass types. See https://wiki.openstreetmap.org/wiki/Key:highway for further details.

Available values are:

NOTE: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.

Types

Type
Link copied to clipboard
annotation class Type
Road class type.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

MOTORWAY
Link copied to clipboard
const val MOTORWAY: String
Describes a motorway FRC.
PRIMARY
Link copied to clipboard
const val PRIMARY: String
Describes a primary FRC.
RESIDENTIAL
Link copied to clipboard
const val RESIDENTIAL: String
Describes a residential FRC.
SECONDARY
Link copied to clipboard
const val SECONDARY: String
Describes a secondary FRC.
SERVICE_OTHER
Link copied to clipboard
const val SERVICE_OTHER: String
Describes a service other FRC.
TERTIARY
Link copied to clipboard
const val TERTIARY: String
Describes a tertiary FRC.
TRUNK
Link copied to clipboard
const val TRUNK: String
Describes a trunk FRC.
UNCLASSIFIED
Link copied to clipboard
const val UNCLASSIFIED: String
Describes an unclassified FRC.