StreetElement
class StreetElement(val id: Int, val pathId: Int, val startOffset: Distance, val endOffset: Distance, val cityDistrict: String, val cityBlock: String, val streetName: String, val roadNumbers: List<String>, val neighborhood: String) : HorizonElement
Horizon element that contains data about a street.
To receive such elements in the horizon snapshot, specify StreetElementType in the horizon options that you register with the horizon engine:
val horizonOptions = HorizonOptions(
elementTypes = listOf(StreetElementType, ...),
...
)
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
City district. Empty string if not available.
Link copied to clipboard
End offset on the horizon path.
Link copied to clipboard
Neighborhood name. Empty string if not available.
Link copied to clipboard
Identifier of the horizon path to which this element belongs.
Link copied to clipboard
Road numbers ordered by priority, from the highest to the lowest. Empty list if not available.
Link copied to clipboard
Start offset on the horizon path.
Link copied to clipboard
Street name. Empty string if not available.