Span class abstract

A span is a part of the Section which is traversable or navigable.

Each span usually has some geometry associated with it.

Constructors

Span()

Properties

baseDuration → Duration
The time duration necessary to traverse the span, using the speed provided in Span.dynamicSpeedInfo without taking into consideration the delays caused by the traffic. Gets the time duration necessary to traverse the span, using the speed provided in Span.dynamicSpeedInfo without taking into consideration the delays caused by the traffic.
no setter
carAttributes → List<AccessAttributes>
The list of car access attributes on the span. The list of car access attributes on the span.
no setter
consumptionInKilowattHours → double?
The power consumption in kilowatt per hour necessary to traverse the span. Gets the power consumption in kilowatt per hour necessary to traverse the span.
no setter
countryCode → String?
The country code of the span. The value is null when no data is available. Gets the country code of the span. The value is null when no data is available.
no setter
duration → Duration
The time duration necessary to traverse the span, using the speed provided in Span.dynamicSpeedInfo. This duration takes also into consideration the delays caused by the traffic. Gets the time duration necessary to traverse the span, using the speed provided in Span.dynamicSpeedInfo. This duration takes also into consideration the delays caused by the traffic.
no setter
dynamicSpeedInfo DynamicSpeedInfo?
The dynamic speed information on the span. The dynamic speed information on the span.
no setter
functionalRoadClass FunctionalRoadClass?
The functional road class of the span. Gets the functional road class of the span.
no setter
geometry GeoPolyline
The GeoPolyline object representing the polyline of this span. Gets the GeoPolyline object representing the polyline of this span.
no setter
hashCode → int
The hash code for this object.
no setterinherited
lengthInMeters → int
The length of this span in meters. Gets the length of this span in meters.
no setter
noThroughRestrictionsIndexes → List<int>
The list of indexes to Section.noThroughRestrictions the parent section owns. In case the list is not empty, the user must judge all the indexed sdk routing noThroughRestriction's carefully before proceeding. Get the list of indexes to Section.noThroughRestrictions the parent section owns. In case the list is not empty, the user must judge all the indexed Section.noThroughRestrictions's carefully before proceeding.
no setter
noticeIndexes → List<int>
The list of indexes to Section.sectionNotices the parent section owns. In case the list is not empty, the user must judge all the indexed SectionNotices carefully before proceeding. Gets the list of indexes to Section.sectionNotices the parent section owns. In case the list is not empty, the user must judge all the indexed SectionNotice's carefully before proceeding.
no setter
roadNumbers LocalizedRoadNumbers
The road numbers on the span enriched with information specific to route numbers of a road such as I-10, US-50, or A3, and cardinal direction, if available, and a road level classification (RouteType). Gets the road numbers on the span enriched with information specific to route numbers of a road such as I-10, US-50, or A3, and cardinal direction, if available, and a road level classification (RouteType).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scooterAttributes → List<AccessAttributes>
The list of scooter access attributes on the span. The list of scooter access attributes on the span.
no setter
sectionPolylineOffset → int
The position of the span inside the section's geometry, given as an offset. The span geometry starts from this offset and ends on the offset of the next span, both start offset point and end offset point being included in the span, because the spans' geometry share a point in the section's geometry. Gets the position of the span inside the section's geometry, given as an offset. The span geometry starts from this offset and ends on the offset of the next span, both start offset point and end offset point being included in the span, because the spans' geometry share a point in the section's geometry.
no setter
segmentReference SegmentReference
The segment reference of this span. Gets the segment reference of this span.
no setter
speedLimitInMetersPerSecond → double?
The speed limit in meters per second on the span. Gets the speed limit in meters per second on the span.
no setter
stateCode → String?
The state code of the span. State code is available in some countries to denote principal subdivisions(provinces or states), e.g. in the United States, AK stands for Alaska and OH stands for Ohio. The format of state code can vary for different countries, take the United States as example, it consists of two alphabet letters. The value is null when no data is available. Gets the state code of the span. State code is available in some countries to denote principal subdivisions(provinces or states), e.g. in the United States, AK stands for Alaska and OH stands for Ohio. The format of state code can vary for different countries, take the United States as example, it consists of two alphabet letters. The value is null when no data is available.
no setter
streetAttributes → List<StreetAttributes>
The list of street attributes on the span. The list of street attributes on the span.
no setter
streetNames LocalizedTexts
The street names on the span. The street names on the span.
no setter
trafficIncidentIndexes → List<int>
The indexes of traffic incidents from the field Section.trafficIncidents of the parent Section. Each matching incident takes at least a whole Span.geometry. The same incident can take other spans and an area out of the built route as well. The indexes of traffic incidents from the field Section.trafficIncidents of the parent Section. Each matching incident takes at least a whole Span.geometry. The same incident can take other spans and an area out of the built route as well.
no setter
truckAttributes → List<AccessAttributes>
The list of truck access attributes on the span. The list of truck access attributes on the span.
no setter
walkAttributes → List<WalkAttributes>
The list of walk attributes on the span. The list of walk attributes on the span.
no setter

Methods

getShieldText(LocalizedRoadNumber roadNumber) → String
Converts full route number to the value to be displayed on the road shield.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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