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
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
nullif SegmentDataLoaderOptions.loadAdministrativeRules is set tofalse. Gets the AdministrativeRules for the segment.no setter - allowedTransportModes → AllowedTransportModes?
-
The AllowedTransportModes object representing the allowed transport modes.
Returns
nullif SegmentDataLoaderOptions.loadTransportModesAccess is set tofalse. 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
nullif SegmentDataLoaderOptions.loadFunctionalRoadClass is set tofalse. 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
nullif SegmentDataLoaderOptions.loadUrban is set tofalse. 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
nullif SegmentDataLoaderOptions.loadLocalRoadCharacteristics is set tofalse. 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
nullif SegmentDataLoaderOptions.loadBaseSpeeds is set tofalse. 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
nullif SegmentDataLoaderOptions.loadSpeedLimits is set tofalse. Gets the SegmentSpeedLimit object representing the speed limit of this segment span.no setter - physicalAttributes → PhysicalAttributes?
-
The physical attributes of the segment.
Returns
nullif SegmentDataLoaderOptions.loadRoadAttributes is set tofalse. 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
nullif SegmentDataLoaderOptions.loadBaseSpeeds is set tofalse. 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
nullif SegmentDataLoaderOptions.loadSpeedLimits is set tofalse. 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
nullif SegmentDataLoaderOptions.loadStreetNamesAndRoadNumbers is set tofalse. 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
nullif SegmentDataLoaderOptions.loadRoadAttributes is set tofalse. 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_rulesmust also be set totrue. 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
nullif SegmentDataLoaderOptions.loadStreetNamesAndRoadNumbers is set tofalse. 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
nullif SegmentDataLoaderOptions.loadTravelDirection is set tofalse. 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