Default constructor.
Warning: This is for convenience only and will construct an empty object.
RouteTaskInfo::RouteTaskInfo(const Esri::ArcGISRuntime::RouteTaskInfo &other)Copy constructor from other RouteTaskInfo.
[noexcept]
RouteTaskInfo::RouteTaskInfo(Esri::ArcGISRuntime::RouteTaskInfo &&other)
Move constructor from other RouteTaskInfo.
[noexcept]
RouteTaskInfo::~RouteTaskInfo()
Destructor.
QStringList RouteTaskInfo::accumulateAttributeNames() constReturns the names of all the accumulated attributes.
QMap<QString, Esri::ArcGISRuntime::CostAttribute> RouteTaskInfo::costAttributes() constReturns the cost attributes as a key-value pair.
The key is the name as a QString, and the value is the CostAttribute.
QString RouteTaskInfo::defaultTravelModeName() constReturns the name of the default travel mode.
If the route task is initialized with a URL or local network that has no travel modes, then the default travel mode name is an empty string.
Esri::ArcGISRuntime::UnitSystem RouteTaskInfo::directionsDistanceUnits() constReturns the units in which the length information will be reported in the route directions.
QString RouteTaskInfo::directionsLanguage() constReturns the language of the resulting route directions.
Esri::ArcGISRuntime::DirectionsStyle RouteTaskInfo::directionsStyle() constReturns the style of the resulting route directions.
[since Esri::ArcGISRuntime 100.7]
Esri::ArcGISRuntime::NetworkDirectionsSupport RouteTaskInfo::directionsSupport() const
Returns whether the underlying network dataset supports the returning of directions.
Note: For services prior to ArcGIS 10.8, this value will be NetworkDirectionsSupport::Unknown.
This function was introduced in Esri::ArcGISRuntime 100.7.
bool RouteTaskInfo::isEmpty() constReturns true
if this RouteTaskInfo is empty.
Returns whether the analysis should reorder stops to find the optimized route.
The default is false
.
Returns whether isPreserveFirstStop is true
.
Returns whether isPreserveLastStop is true
.
[since Esri::ArcGISRuntime 100.6]
bool RouteTaskInfo::isSupportsRerouting() const
Returns the value of service property "Supports Rerouting".
If the "Supports Rerouting" property does not exist on service, the value will be false
. For local data, the value will be true
.
This function was introduced in Esri::ArcGISRuntime 100.6.
[since Esri::ArcGISRuntime 100.6]
double RouteTaskInfo::maxLocatingDistance() const
Returns the maximum locating distance is the furthest distance in meters that Network Analyst searches when locating or relocating a point onto the network.
The search looks for suitable edges or junctions and snaps the point to the nearest one. If a suitable location isn't found within the maximum locating distance, the object is marked as unlocated.
Maximum locating distance is the furthest distance (in meters) that Network Analyst searches when locating or relocating a point onto the network. The search looks for suitable edges or junctions and snaps the point to the nearest one. If a suitable location isn't found within the maximum locating distance, the object is marked as unlocated.
This function was introduced in Esri::ArcGISRuntime 100.6.
QString RouteTaskInfo::networkName() constReturns the network name.
Esri::ArcGISRuntime::SpatialReference RouteTaskInfo::outputSpatialReference() constReturns the output spatial reference.
QMap<QString, Esri::ArcGISRuntime::RestrictionAttribute> RouteTaskInfo::restrictionAttributes() constReturns the restriction attributes as a key-value pair.
The key is the name as a QString, and the value is the RestrictionAttribute.
Esri::ArcGISRuntime::RouteShapeType RouteTaskInfo::routeShapeType() constReturns the output shape type for a route.
QDateTime RouteTaskInfo::startTime() constReturns the start time of the route in UTC time.
QStringList RouteTaskInfo::supportedLanguages() constReturns a list of supported languages for the route directions.
QStringList RouteTaskInfo::supportedRestrictionUsageParameterValues() constReturns a list of supported restriction usage parameter values.
Restrictions can be identified for particular elements such that, during an analysis, traversing restricted elements is prohibited entirely, avoided, or even preferred. The values in this list which are assigned to the restriction usage parameter determines whether the restriction attribute prohibits, avoids, or prefers the network elements it is associated with. Furthermore, the degree to which network elements are avoided or preferred can be defined by choosing High, Medium, or Low.
QList<Esri::ArcGISRuntime::TravelMode> RouteTaskInfo::travelModes() constReturns a list of travel modes set in the RouteParameters.
[noexcept]
Esri::ArcGISRuntime::RouteTaskInfo &RouteTaskInfo::operator=(Esri::ArcGISRuntime::RouteTaskInfo &&other)
Move operator from other RouteTaskInfo.
Esri::ArcGISRuntime::RouteTaskInfo &RouteTaskInfo::operator=(const Esri::ArcGISRuntime::RouteTaskInfo &other)Assignment operator from other RouteTaskInfo.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4