Information about a road and its lanes.
More...
#import <SYNavigationLaneInfo.h>
Information about a road and its lanes.
◆ lanes
Road's SYLanes. The lanes are ordered from right (index = 0) to left (index = lanes.count - 1), independent of driving side.
◆ geometry
◆ routeStartDistance
- (SYDistance) routeStartDistance |
|
readnonatomicassign |
◆ rightSideDriving
- (BOOL) rightSideDriving |
|
readnonatomicassign |
Driving side information.
◆ roadLevel
◆ connectedLanesOffset
- (NSInteger) connectedLanesOffset |
|
readnonatomicassign |
Number defining side offset (number of lanes) of current SYRoadLanes lanes from previous SYRoadLanes lanes. Positive value means lanes are shifted to left, zero value means no offset and negative value means right offset. In following example, there are 4 SYRoadLanes:
- | | | |
- | | | |
- | | |/
- | | | 0. | | |
SYRoadLanes with index 0 has 2 SYLanes and connectedLanesOffset = 0. SYRoadLanes with index 1 has 2 SYLanes and connectedLanesOffset = 0. SYRoadLanes with index 2 has 3 SYLanes and connectedLanesOffset = 1. SYRoadLanes with index 3 has 3 SYLanes and connectedLanesOffset = 0. SYRoadLanes with index 4 has 3 SYLanes and connectedLanesOffset = 0.
The documentation for this class was generated from the following file: