buildHorizonOptions
Creates an instance of HorizonOptions for subscribing to horizon data with the given element types of interest.
Return
An instance of HorizonOptions with the given horizon element types. The horizon options specify one main path and nine sub-paths of depth level one. The main path search distance is the minimum between 25 km and the remaining route length when navigating with a route, 10 km when free driving, and the sub-path search distance is 100 m.
Parameters
elementTypes
The horizon element types of interest.