Class ElectronicHorizonPosition

java.lang.Object
com.here.sdk.electronichorizon.ElectronicHorizonPosition

public final class ElectronicHorizonPosition extends Object

Provides a position on an electronic horizon path with a reference to the current item in the ElectronicHorizon.

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.

  • Field Details

    • pathIndex

      public int pathIndex

      The index of the current path in the list of ElectronicHorizon.paths.

    • pathSegmentIndex

      public int pathSegmentIndex

      The index of the segment inside the ElectronicHorizonPath.segments.

    • pathSegmentOffsetInMeters

      public double pathSegmentOffsetInMeters

      The offset from the start of the segment in meters.

  • Constructor Details

    • ElectronicHorizonPosition

      public ElectronicHorizonPosition(int pathIndex, int pathSegmentIndex, double pathSegmentOffsetInMeters)

      Creates a new instance.

      Offline availability: This property is available online and offline.

      Parameters:
      pathIndex -

      The index of the current path in the list of ElectronicHorizon.paths.

      pathSegmentIndex -

      The index of the segment inside the ElectronicHorizonPath.segments.

      pathSegmentOffsetInMeters -

      The offset from the start of the segment in meters.

  • Method Details