ElectronicHorizonEngine class abstract

Provides an electronic horizon engine that continuously predicts the road network ahead of the vehicle by using detailed map data, including road topography that is currently out of sight.

You can subscribe to electronic horizon updates based on position updates by using ElectronicHorizonListener. For more information about sub path levels, see ElectronicHorizonOptions.lookAheadDistancesInMeters.

The electronic horizon engine uses map-matched locations and can optionally use a Route to improve the most-preferred path (MPP).

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Constructors

ElectronicHorizonEngine.WithOptionsAndRoutePathEvaluator(SDKNativeEngine sdkEngine, ElectronicHorizonOptions options, TransportMode transportMode, Route? route)
Creates a new instance of ElectronicHorizonEngine.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
route Route?
The instance of Route that is being used by ElectronicHorizonEngine. You can override this property to rebuild the electronic horizon based on a different route. Gets the instance of Route or null if Route is not set.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addElectronicHorizonListener(ElectronicHorizonListener electronicHorizonListener) → void
Adds an ElectronicHorizonListener to the subscription list.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeElectronicHorizonListener(ElectronicHorizonListener electronicHorizonListener) → void
Removes an ElectronicHorizonListener from the subscription list.
toString() → String
A string representation of this object.
inherited
update(MapMatchedLocation mapMatchedLocation) → void
Updates the electronic horizon paths based on the provided map-matched location.

Operators

operator ==(Object other) → bool
The equality operator.
inherited