SYRoadElement Class Reference

Represents a road element on the road. More...

#import <SYRoutingRoadElement.h>

Inheritance diagram for SYRoadElement:
Collaboration diagram for SYRoadElement:

Properties

SYDistance length
 The length of SYRoadElement in meters. More...
 
NSTimeInterval duration
 The duration of SYRoadElement in seconds based on average speed of the element. More...
 
SYDistance distance
 The distance from start of SYRoute in meters. More...
 
SYSpeed speedLimit
 The speed limit of SYRoadElement in kmh, or 0 if the information is not available. More...
 
SYRoadElementDirection direction
 Direction of SYRoadElement. More...
 
NSSet< NSNumber * > * attributes
 The colection of SYRoadElementAttribute. More...
 
SYCountryIso * country
 Represents country iso code. More...
 
NSString * uniqueId
 The unique identifier of SYRoadElement. More...
 
NSString * roadName
 The name of the road element, or an empty string if the data is not available. More...
 
SYGeoCoordinatefrom
 From coordinate. More...
 
SYGeoCoordinateto
 To coordinate. More...
 
BOOL temporaryClosure
 Indicates that element will be temporary closed when we reach it. More...
 

Detailed Description

Represents a road element on the road.

Property Documentation

◆ length

- (SYDistance) length
readnonatomicassign

The length of SYRoadElement in meters.

◆ duration

- (NSTimeInterval) duration
readnonatomicassign

The duration of SYRoadElement in seconds based on average speed of the element.

◆ distance

- (SYDistance) distance
readnonatomicassign

The distance from start of SYRoute in meters.

◆ speedLimit

- (SYSpeed) speedLimit
readnonatomicassign

The speed limit of SYRoadElement in kmh, or 0 if the information is not available.

◆ direction

- (SYRoadElementDirection) direction
readnonatomicassign

Direction of SYRoadElement.

◆ attributes

- (NSSet<NSNumber*>*) attributes
readnonatomicassign

The colection of SYRoadElementAttribute.

◆ country

- (SYCountryIso*) country
readnonatomicassign

Represents country iso code.

◆ uniqueId

- (NSString*) uniqueId
readnonatomicassign

The unique identifier of SYRoadElement.

◆ roadName

- (NSString*) roadName
readnonatomicassign

The name of the road element, or an empty string if the data is not available.

◆ from

- (SYGeoCoordinate*) from
readnonatomicassign

From coordinate.

◆ to

- (SYGeoCoordinate*) to
readnonatomicassign

To coordinate.

◆ temporaryClosure

- (BOOL) temporaryClosure
readnonatomicassign

Indicates that element will be temporary closed when we reach it.


The documentation for this class was generated from the following file: