Class LaneAttribute

java.lang.Object
com.here.sdk.mapdata.LaneAttribute

public final class LaneAttribute extends Object

A class that describes attributes assigned to a specific section of a lane. It includes lane markings, allowed travel directions, tolling info, access restrictions, and optional lane type.

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 Summary

    Fields
    Modifier and Type
    Field
    Description
    Access characteristics of the lane that identifies the vehicle type(s) allowed to access a lane.
    Indicate the markings on the road
    int
    The start offset of the lane in meters from the beginning of the segment
    List of Toll Structure that identifies the presence of physical toll structures or automatic controls on the lane at entry and exit points along a toll road which requires payment (cash, electronic, etc.) or ticket
    Specifies the functional and regulatory roles a lane may serve, such as turn, express, HOV, or bike use
  • Constructor Summary

    Constructors
    Constructor
    Description
    LaneAttribute(int startOffsetInMeters, LaneMarkings markings, LaneAccess access, List<TollStructure> tollStructures)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • startOffsetInMeters

      public int startOffsetInMeters

      The start offset of the lane in meters from the beginning of the segment

    • markings

      @NonNull public LaneMarkings markings

      Indicate the markings on the road

    • access

      @NonNull public LaneAccess access

      Access characteristics of the lane that identifies the vehicle type(s) allowed to access a lane.

    • tollStructures

      @NonNull public List<TollStructure> tollStructures

      List of Toll Structure that identifies the presence of physical toll structures or automatic controls on the lane at entry and exit points along a toll road which requires payment (cash, electronic, etc.) or ticket

    • type

      @Nullable public LaneType type

      Specifies the functional and regulatory roles a lane may serve, such as turn, express, HOV, or bike use

  • Constructor Details

    • LaneAttribute

      public LaneAttribute(int startOffsetInMeters, @NonNull LaneMarkings markings, @NonNull LaneAccess access, @NonNull List<TollStructure> tollStructures)

      Creates a new instance.

      Parameters:
      startOffsetInMeters -

      The start offset of the lane in meters from the beginning of the segment

      markings -

      Indicate the markings on the road

      access -

      Access characteristics of the lane that identifies the vehicle type(s) allowed to access a lane.

      tollStructures -

      List of Toll Structure that identifies the presence of physical toll structures or automatic controls on the lane at entry and exit points along a toll road which requires payment (cash, electronic, etc.) or ticket

  • Method Details