SegmentSpanData class abstract

Contains attributes that are not necessarily constant on a full segment.

A Span is a portion of a Segment where the requested attributes are constant.

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.

Constructors

SegmentSpanData()

Properties

administrativeRules AdministrativeRules?
The AdministrativeRules for the segment, containing information about country code, state code, unit system, tolls, pre-trip planning and other administrative information. Returns null if SegmentDataLoaderOptions.loadAdministrativeRules is set to false. Gets the AdministrativeRules for the segment.
no setter
allowedTransportModes AllowedTransportModes?
The AllowedTransportModes object representing the allowed transport modes. Returns null if SegmentDataLoaderOptions.loadTransportModesAccess is set to false. Gets the AllowedTransportModes object.
no setter
baseSpeedInMetersPerSecond → double?
The average speed expected for this segment span with a car or a similar vehicle. Will be loaded if SegmentDataLoaderOptions.loadBaseSpeeds is true. Gets the average speed for this segment span.
no setter
functionalRoadClass FunctionalRoadClass?
The FunctionalRoadClass object representing the polyline of this segment. Returns null if SegmentDataLoaderOptions.loadFunctionalRoadClass is set to false. Gets the FunctionalRoadClass object representing the polyline of this section.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isUrban → bool?
The urban attribute of the segment. Returns null if SegmentDataLoaderOptions.loadUrban is set to false. Gets the urban attribute of the segment.
no setter
localRoadCharacteristics → List<LocalRoadCharacteristic>?
The local road characteristics of the segment: frontage, parking lot road, or POI access road. Returns null if SegmentDataLoaderOptions.loadLocalRoadCharacteristics is set to false. Gets the local road characteristics.
no setter
negativeDirectionBaseSpeedInMetersPerSecond → double?
The average speed expected for this segment in negative direction with a car or a similar vehicle. Returns null if SegmentDataLoaderOptions.loadBaseSpeeds is set to false. Gets the average speed in the negative direction.
no setter
negativeDirectionSpeedLimit SegmentSpeedLimit?
The SegmentSpeedLimit object representing the speed limit of this segment span in the negative travel direction. Returns null if SegmentDataLoaderOptions.loadSpeedLimits is set to false. Gets the SegmentSpeedLimit object representing the speed limit of this segment span.
no setter
physicalAttributes PhysicalAttributes?
The physical attributes of the segment. Returns null if SegmentDataLoaderOptions.loadRoadAttributes is set to false. Gets the physical attributes.
no setter
positiveDirectionBaseSpeedInMetersPerSecond → double?
The average speed expected for this segment in positive direction with a car or a similar vehicle. Returns null if SegmentDataLoaderOptions.loadBaseSpeeds is set to false. Gets the average speed in the positive direction.
no setter
positiveDirectionSpeedLimit SegmentSpeedLimit?
The SegmentSpeedLimit object representing the speed limit of this segment span in the positive tavel direction. Returns null if SegmentDataLoaderOptions.loadSpeedLimits is set to false. Gets the SegmentSpeedLimit object representing the speed limit of this segment span.
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. Returns null if SegmentDataLoaderOptions.loadStreetNamesAndRoadNumbers is set to false. 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.
no setter
roadUsages RoadUsages?
The road usages of the segment. Returns null if SegmentDataLoaderOptions.loadRoadAttributes is set to false. Gets the road usages.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spanLengthInMeters → int
The length of this span in meters. Gets the length of this span in meters.
no setter
specialSpeedSituations → List<SegmentSpecialSpeedSituation>?
The special speed situations of the segment. Will be loaded if SegmentDataLoaderOptions.loadSpecialSpeedSituations is true. Note: To get timezone offset and daylight saving time values for TimeRule, sdk.mapdata.SegmentDataLoaderOptions.load_administrative_rules must also be set to true. Gets the list of SegmentSpecialSpeedSituation.
no setter
speedLimit SegmentSpeedLimit?
The SegmentSpeedLimit object representing the speed limit of this segment span. Will be loaded if SegmentDataLoaderOptions.loadSpeedLimits is true. Gets the SegmentSpeedLimit object representing the speed limit of this segment span.
no setter
startOffsetInMeters → int
Start offset. The offset in meters from the beginning of the segment to the start of the span in positive direction or from the end of the segment to the start of the span in negative direction. Gets the start offset in meters of the span.
no setter
streetNames LocalizedTexts?
The street names on the span. Returns null if SegmentDataLoaderOptions.loadStreetNamesAndRoadNumbers is set to false. The street names on the span.
no setter
travelDirection TravelDirection?
The TravelDirection object representing the allowed travel directions. Gets the TravelDirection object for the portion of the segment. Returns null if SegmentDataLoaderOptions.loadTravelDirection is set to false. Gets the TravelDirection.
no setter

Methods

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