RoadSurface

object RoadSurface

Surface type of the road. Check for details: https://wiki.openstreetmap.org/wiki/Key:surface

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
Retention policy for the RoadSurface

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

COMPACTED
Link copied to clipboard
const val COMPACTED: String
A stable surface, it's a mixture of larger (e.g., gravel) and smaller (e.g., sand) parts, compacted (e.g., with a roller).
DIRT
Link copied to clipboard
const val DIRT: String
No special surface, the ground itself has marks of human or animal usage.
GRAVEL
Link copied to clipboard
const val GRAVEL: String
Used for cases ranging from huge gravel pieces like track ballast used as surface, through small pieces of gravel to compacted surface.
IMPASSABLE
Link copied to clipboard
const val IMPASSABLE: String
Road with such surface type can't be used for any routing.
PATH
Link copied to clipboard
const val PATH: String
Grass or stepping stones surface.
PAVED
Link copied to clipboard
const val PAVED: String
A type that is predominantly paved, it is covered with paving stones, concrete or bitumen.
PAVED_ROUGH
Link copied to clipboard
const val PAVED_ROUGH: String
Heavily damaged paved roads that need maintenance: many potholes, some of them quite deep.
PAVED_SMOOTH
Link copied to clipboard
const val PAVED_SMOOTH: String
Paved smooth surface.