elementsAhead
Returns the HorizonElements that are ahead of the given position on the path to which the position belongs, within the given distance. Elements of the same type are provided in increasing order of the start offset.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
List of horizon elements ahead of the given position on the path to which the position belongs, within the given distance. The list is empty if the position does not have a valid path ID or there is no path in the snapshot with the same ID as the one stored in the position.
Parameters
Distance ahead of the specified position.
Returns the HorizonElements of the given types that are ahead of the given position on the path to which the position belongs, within the given distance. Elements of the same type are provided in increasing order of the start offset.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
List of horizon elements of the given types ahead of the given position on the path to which the position belongs, within the given distance. The list is empty if the position does not have a valid path ID or there is no path in the snapshot with the same ID as the one stored in the position.
Parameters
Returns the horizon elements of the given type that are ahead of the given position on the path to which the position belongs, within the given distance. The elements are provided in increasing order of the start offset.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
List of horizon elements of the given type ahead of the given position on the path to which the position belongs, within the given distance. The list is empty if the position does not have a valid path ID or there is no path in the snapshot with the same ID as the one stored in the position.