Street
data class Street(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>) : HorizonElement
Describes a street on the horizon element.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
id
Identifier of this element.
pathId
Identifier of the path this element belongs to.
startOffset
Start offset on the path.
endOffset
End offset on the path.
cityDistrict
City district. Empty string if no city district is assigned to the part of the path.
cityBlock
City block. Empty string if no city block is assigned to the part of the path.
streetName
Street name. Empty string if no street is assigned to the part of the path.
roadNumbers
Road numbers ordered by priority, from the highest to the lowest. Empty list if no road numbers are assigned to the part of the path.