E Horizon Options
Defines options for EHorizon.
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.
Parameters
the minimum length of the MPP in meters. This does not include the trailingLength. The actual MPP length may be bigger. Double in range 1.0, 20000.0. Default value 500.0
the number of branches to include from the MPP. When set to 0 only the MPP is returned. Higher values will result in deeper nesting. Int in range 0, 2. Default value 0
when expansion is set to anything but 0, this specifies the minimum length in meters branches will be expanded from the MPP. Double in range 1.0, 5000.0. Default value 50.0
the minimum time which should pass between consecutive navigation statuses to update electronic horizon (seconds). If null electronic horizon will be updated on each navigation status. Default value null
control how Navigation SDK extracts road objects from the road graph and which objects are collected.