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

Link copied to clipboard
annotation class Type

Road class type.

Properties

Link copied to clipboard
const val MOTORWAY: String

Describes a motorway FRC. See https://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway for further details.

Link copied to clipboard
const val PRIMARY: String

Describes a primary FRC. See https://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary for further details.

Link copied to clipboard
const val RESIDENTIAL: String

Describes a residential FRC. See https://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential for further details.

Link copied to clipboard
const val SECONDARY: String

Describes a secondary FRC. See https://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary for further details.

Link copied to clipboard
const val SERVICE_OTHER: String

Describes a service other FRC.

Link copied to clipboard
const val TERTIARY: String

Describes a tertiary FRC. See https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary for further details.

Link copied to clipboard
const val TRUNK: String

Describes a trunk FRC. See https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk for further details.

Link copied to clipboard
const val UNCLASSIFIED: String

Describes an unclassified FRC. See https://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified for further details.