/usr/share/qt5/doc/qtlocation/qml-qtlocation-routequery.html is in qtlocation5-doc-html 5.5.1-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativegeoroutemodel.cpp -->
<title>RouteQuery QML Type | Qt Location 5.5</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.5</li>
<li><a href="qtlocation-index.html">Qt Location</a></li>
<li><a href="qtlocation-qmlmodule.html">QML Types</a></li>
<li>RouteQuery QML Type</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#example-usage">Example Usage</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">RouteQuery QML Type</h1>
<span class="subtitle"></span>
<!-- $$$RouteQuery-brief -->
<p>The <a href="qml-qtlocation-routequery.html">RouteQuery</a> type is used to provide query parameters to a <a href="qml-qtlocation-routemodel.html">RouteModel</a>. <a href="#details">More...</a></p>
<!-- @@@RouteQuery -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtLocation 5.3</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt Location 5.5</td></tr></table></div><ul>
<li><a href="qml-qtlocation-routequery-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtlocation-routequery.html#excludedAreas-prop">excludedAreas</a></b></b> : list<georectangle></li>
<li class="fn"><b><b><a href="qml-qtlocation-routequery.html#featureTypes-prop">featureTypes</a></b></b> : QList<FeatureType></li>
<li class="fn"><b><b><a href="qml-qtlocation-routequery.html#maneuverDetail-prop">maneuverDetail</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtlocation-routequery.html#numberAlternativeRoutes-prop">numberAlternativeRoutes</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtlocation-routequery.html#routeOptimizations-prop">routeOptimizations</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtlocation-routequery.html#segmentDetail-prop">segmentDetail</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtlocation-routequery.html#travelModes-prop">travelModes</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtlocation-routequery.html#waypoints-prop">waypoints</a></b></b> : QJSValue</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">void <b><b><a href="qml-qtlocation-routequery.html#addExcludedArea-method">addExcludedArea</a></b></b>(georectangle)</li>
<li class="fn">void <b><b><a href="qml-qtlocation-routequery.html#addWaypoint-method">addWaypoint</a></b></b>(coordinate)</li>
<li class="fn">void <b><b><a href="qml-qtlocation-routequery.html#clearExcludedAreas-method">clearExcludedAreas</a></b></b>()</li>
<li class="fn">void <b><b><a href="qml-qtlocation-routequery.html#clearWaypoints-method">clearWaypoints</a></b></b>()</li>
<li class="fn">FeatureWeight <b><b><a href="qml-qtlocation-routequery.html#featureWeight-method">featureWeight</a></b></b>(FeatureType <i> featureType</i>)</li>
<li class="fn">void <b><b><a href="qml-qtlocation-routequery.html#removeExcludedArea-method">removeExcludedArea</a></b></b>(georectangle)</li>
<li class="fn">void <b><b><a href="qml-qtlocation-routequery.html#removeWaypoint-method">removeWaypoint</a></b></b>(coordinate)</li>
<li class="fn">void <b><b><a href="qml-qtlocation-routequery.html#resetFeatureWeights-method">resetFeatureWeights</a></b></b>()</li>
<li class="fn">void <b><b><a href="qml-qtlocation-routequery.html#setFeatureWeight-method">setFeatureWeight</a></b></b>(FeatureType, FeatureWeight)</li>
</ul>
<!-- $$$RouteQuery-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p>A <a href="qml-qtlocation-routequery.html">RouteQuery</a> contains all the parameters necessary to make a request to a routing service, which can then populate the contents of a <a href="qml-qtlocation-routemodel.html">RouteModel</a>.</p>
<p>These parameters describe key details of the route, such as <a href="qml-qtlocation-routequery.html#waypoints-prop">waypoints</a> to pass through, <a href="qml-qtlocation-routequery.html#excludedAreas-prop">excludedAreas</a> to avoid, the <a href="qml-qtlocation-routequery.html#travelModes-prop">travelModes</a> in use, as well as detailed preferences on how to optimize the route and what features to prefer or avoid along the path (such as toll roads, highways, etc).</p>
<p><a href="qml-qtlocation-routequery.html">RouteQuery</a> objects are used exclusively to fill out the value of a <a href="qml-qtlocation-routemodel.html">RouteModel</a>'s <a href="qml-qtlocation-routemodel.html#query-prop">query</a> property, which can then begin the retrieval process to populate the model.</p>
<a name="example-usage"></a>
<h3 >Example Usage</h3>
<p>The following snipped shows an incomplete example of creating a <a href="qml-qtlocation-routequery.html">RouteQuery</a> object and setting it as the value of a <a href="qml-qtlocation-routemodel.html">RouteModel</a>'s <a href="qml-qtlocation-routemodel.html#query-prop">query</a> property.</p>
<pre class="cpp">RouteQuery {
id: aQuery
}
RouteModel {
query: aQuery
autoUpdate: <span class="keyword">false</span>
}</pre>
<p>For a more complete example, see the documentation for the <a href="qml-qtlocation-routemodel.html">RouteModel</a> type, and the Mapviewer example.</p>
<p><b>See also </b><a href="qml-qtlocation-routemodel.html">RouteModel</a>.</p>
<!-- @@@RouteQuery -->
<h2>Property Documentation</h2>
<!-- $$$excludedAreas -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="excludedAreas-prop"><td class="tblQmlPropNode"><p><a name="excludedAreas-prop"></a><span class="name">excludedAreas</span> : <span class="type">list</span><<span class="type">georectangle</span>></p></td></tr></table></div></div><div class="qmldoc"><p>Areas that the route must not cross.</p>
<p>Excluded areas can be set as part of the <a href="qml-qtlocation-routequery.html">RouteQuery</a> type declaration or dynamically with the functions provided.</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#addExcludedArea-method">addExcludedArea</a>, <a href="qml-qtlocation-routequery.html#removeExcludedArea-method">removeExcludedArea</a>, and <a href="qml-qtlocation-routequery.html#clearExcludedAreas-method">clearExcludedAreas</a>.</p>
</div></div><!-- @@@excludedAreas -->
<br/>
<!-- $$$featureTypes -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="featureTypes-prop"><td class="tblQmlPropNode"><p><a name="featureTypes-prop"></a><span class="name">featureTypes</span> : <span class="type"><a href="../qtcore/qlist.html">QList</a></span><<span class="type">FeatureType</span>></p></td></tr></table></div></div><div class="qmldoc"><p>List of features that will be considered when planning the route. Features with a weight of NeutralFeatureWeight will not be returned.</p>
<ul>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.NoFeature - No features will be taken into account when planning the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.TollFeature - Consider tollways when planning the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.HighwayFeature - Consider highways when planning the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.PublicTransitFeature - Consider public transit when planning the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.FerryFeature - Consider ferries when planning the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.TunnelFeature - Consider tunnels when planning the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.DirtRoadFeature - Consider dirt roads when planning the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.ParksFeature - Consider parks when planning the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.MotorPoolLaneFeature - Consider motor pool lanes when planning the route</li>
</ul>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#setFeatureWeight-method">setFeatureWeight</a> and <a href="qml-qtlocation-routequery.html#featureWeight-method">featureWeight</a>.</p>
</div></div><!-- @@@featureTypes -->
<br/>
<!-- $$$maneuverDetail -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="maneuverDetail-prop"><td class="tblQmlPropNode"><p><a name="maneuverDetail-prop"></a><span class="name">maneuverDetail</span> : <span class="type">enumeration</span></p></td></tr></table></div></div><div class="qmldoc"><p>The level of detail which will be used in the representation of routing maneuvers.</p>
<ul>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.NoManeuvers - No maneuvers should be included with the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.BasicManeuvers - Basic maneuvers will be included with the route</li>
</ul>
<p>The default value is <a href="qml-qtlocation-routequery.html">RouteQuery</a>.BasicManeuvers</p>
</div></div><!-- @@@maneuverDetail -->
<br/>
<!-- $$$numberAlternativeRoutes -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="numberAlternativeRoutes-prop"><td class="tblQmlPropNode"><p><a name="numberAlternativeRoutes-prop"></a><span class="name">numberAlternativeRoutes</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>The number of alternative routes requested when requesting routes. The default value is 0.</p>
</div></div><!-- @@@numberAlternativeRoutes -->
<br/>
<!-- $$$routeOptimizations -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="routeOptimizations-prop"><td class="tblQmlPropNode"><p><a name="routeOptimizations-prop"></a><span class="name">routeOptimizations</span> : <span class="type">enumeration</span></p></td></tr></table></div></div><div class="qmldoc"><p>The route optimizations which should be considered during the planning of the route. Values can be combined with OR ('|') -operator.</p>
<ul>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.ShortestRoute - Minimize the length of the journey</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.FastestRoute - Minimize the traveling time for the journey</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.MostEconomicRoute - Minimize the cost of the journey</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.MostScenicRoute - Maximize the scenic potential of the journey</li>
</ul>
<p>The default value is <a href="qml-qtlocation-routequery.html">RouteQuery</a>.FastestRoute</p>
</div></div><!-- @@@routeOptimizations -->
<br/>
<!-- $$$segmentDetail -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="segmentDetail-prop"><td class="tblQmlPropNode"><p><a name="segmentDetail-prop"></a><span class="name">segmentDetail</span> : <span class="type">enumeration</span></p></td></tr></table></div></div><div class="qmldoc"><p>The level of detail which will be used in the representation of routing segments.</p>
<ul>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.NoSegmentData - No segment data should be included with the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.BasicSegmentData - Basic segment data will be included with the route</li>
</ul>
<p>The default value is <a href="qml-qtlocation-routequery.html">RouteQuery</a>.BasicSegmentData</p>
</div></div><!-- @@@segmentDetail -->
<br/>
<!-- $$$travelModes -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="travelModes-prop"><td class="tblQmlPropNode"><p><a name="travelModes-prop"></a><span class="name">travelModes</span> : <span class="type">enumeration</span></p></td></tr></table></div></div><div class="qmldoc"><p>The travel modes which should be considered during the planning of the route. Values can be combined with OR ('|') -operator.</p>
<ul>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.CarTravel - The route will be optimized for someone who is driving a car</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.PedestrianTravel - The route will be optimized for someone who is walking</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.BicycleTravel - The route will be optimized for someone who is riding a bicycle</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.PublicTransitTravel - The route will be optimized for someone who is making use of public transit</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.TruckTravel - The route will be optimized for someone who is driving a truck</li>
</ul>
<p>The default value is <a href="qml-qtlocation-routequery.html">RouteQuery</a>.CarTravel</p>
</div></div><!-- @@@travelModes -->
<br/>
<!-- $$$waypoints -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="waypoints-prop"><td class="tblQmlPropNode"><p><a name="waypoints-prop"></a><span class="name">waypoints</span> : <span class="type">QJSValue</span></p></td></tr></table></div></div><div class="qmldoc"><p>The waypoint coordinates of the desired route. The waypoints should be given in order from origin to destination. Two or more coordinates are needed.</p>
<p>Waypoints can be set as part of the <a href="qml-qtlocation-routequery.html">RouteQuery</a> type declaration or dynamically with the functions provided.</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#addWaypoint-method">addWaypoint</a>, <a href="qml-qtlocation-routequery.html#removeWaypoint-method">removeWaypoint</a>, and <a href="qml-qtlocation-routequery.html#clearWaypoints-method">clearWaypoints</a>.</p>
</div></div><!-- @@@waypoints -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$addExcludedArea -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="addExcludedArea-method"><td class="tblQmlFuncNode"><p><a name="addExcludedArea-method"></a><span class="type">void</span> <span class="name">addExcludedArea</span>(<span class="type">georectangle</span>)</p></td></tr></table></div></div><div class="qmldoc"><p>Adds the given area to excluded areas (areas that the route must not cross). Same area can only be added once.</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#removeExcludedArea-method">removeExcludedArea</a> and <a href="qml-qtlocation-routequery.html#clearExcludedAreas-method">clearExcludedAreas</a>.</p>
</div></div><!-- @@@addExcludedArea -->
<br/>
<!-- $$$addWaypoint -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="addWaypoint-method"><td class="tblQmlFuncNode"><p><a name="addWaypoint-method"></a><span class="type">void</span> <span class="name">addWaypoint</span>(<span class="type">coordinate</span>)</p></td></tr></table></div></div><div class="qmldoc"><p>Appends a coordinate to the list of waypoints. Same coordinate can be set multiple times.</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#removeWaypoint-method">removeWaypoint</a> and <a href="qml-qtlocation-routequery.html#clearWaypoints-method">clearWaypoints</a>.</p>
</div></div><!-- @@@addWaypoint -->
<br/>
<!-- $$$clearExcludedAreas -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="clearExcludedAreas-method"><td class="tblQmlFuncNode"><p><a name="clearExcludedAreas-method"></a><span class="type">void</span> <span class="name">clearExcludedAreas</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Clears all excluded areas (areas that the route must not cross).</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#addExcludedArea-method">addExcludedArea</a> and <a href="qml-qtlocation-routequery.html#removeExcludedArea-method">removeExcludedArea</a>.</p>
</div></div><!-- @@@clearExcludedAreas -->
<br/>
<!-- $$$clearWaypoints -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="clearWaypoints-method"><td class="tblQmlFuncNode"><p><a name="clearWaypoints-method"></a><span class="type">void</span> <span class="name">clearWaypoints</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Clears all waypoints.</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#removeWaypoint-method">removeWaypoint</a> and <a href="qml-qtlocation-routequery.html#addWaypoint-method">addWaypoint</a>.</p>
</div></div><!-- @@@clearWaypoints -->
<br/>
<!-- $$$featureWeight -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="featureWeight-method"><td class="tblQmlFuncNode"><p><a name="featureWeight-method"></a><span class="type">FeatureWeight</span> <span class="name">featureWeight</span>(<span class="type">FeatureType</span><i> featureType</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>Gets the weight for the <i>featureType</i>.</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#featureTypes-prop">featureTypes</a>, <a href="qml-qtlocation-routequery.html#setFeatureWeight-method">setFeatureWeight</a>, and <a href="qml-qtlocation-routequery.html#resetFeatureWeights-method">resetFeatureWeights</a>.</p>
</div></div><!-- @@@featureWeight -->
<br/>
<!-- $$$removeExcludedArea -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="removeExcludedArea-method"><td class="tblQmlFuncNode"><p><a name="removeExcludedArea-method"></a><span class="type">void</span> <span class="name">removeExcludedArea</span>(<span class="type">georectangle</span>)</p></td></tr></table></div></div><div class="qmldoc"><p>Removes the given area to excluded areas (areas that the route must not cross).</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#addExcludedArea-method">addExcludedArea</a> and <a href="qml-qtlocation-routequery.html#clearExcludedAreas-method">clearExcludedAreas</a>.</p>
</div></div><!-- @@@removeExcludedArea -->
<br/>
<!-- $$$removeWaypoint -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="removeWaypoint-method"><td class="tblQmlFuncNode"><p><a name="removeWaypoint-method"></a><span class="type">void</span> <span class="name">removeWaypoint</span>(<span class="type">coordinate</span>)</p></td></tr></table></div></div><div class="qmldoc"><p>Removes the given from the list of waypoints. In case same coordinate appears multiple times, the most recently added coordinate instance is removed.</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#addWaypoint-method">addWaypoint</a> and <a href="qml-qtlocation-routequery.html#clearWaypoints-method">clearWaypoints</a>.</p>
</div></div><!-- @@@removeWaypoint -->
<br/>
<!-- $$$resetFeatureWeights -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="resetFeatureWeights-method"><td class="tblQmlFuncNode"><p><a name="resetFeatureWeights-method"></a><span class="type">void</span> <span class="name">resetFeatureWeights</span>()</p></td></tr></table></div></div><div class="qmldoc"><p>Resets all feature weights to their default state (NeutralFeatureWeight).</p>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#featureTypes-prop">featureTypes</a>, <a href="qml-qtlocation-routequery.html#setFeatureWeight-method">setFeatureWeight</a>, and <a href="qml-qtlocation-routequery.html#featureWeight-method">featureWeight</a>.</p>
</div></div><!-- @@@resetFeatureWeights -->
<br/>
<!-- $$$setFeatureWeight -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="setFeatureWeight-method"><td class="tblQmlFuncNode"><p><a name="setFeatureWeight-method"></a><span class="type">void</span> <span class="name">setFeatureWeight</span>(<span class="type">FeatureType</span>, <span class="type">FeatureWeight</span>)</p></td></tr></table></div></div><div class="qmldoc"><p>Defines the weight to associate with a feature during the planning of a route.</p>
<p>Following lists the possible feature weights:</p>
<ul>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.NeutralFeatureWeight - The presence or absence of the feature will not affect the planning of the route</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.PreferFeatureWeight - Routes which contain the feature will be preferred over those that do not</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.RequireFeatureWeight - Only routes which contain the feature will be considered, otherwise no route will be returned</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.AvoidFeatureWeight - Routes which do not contain the feature will be preferred over those that do</li>
<li><a href="qml-qtlocation-routequery.html">RouteQuery</a>.DisallowFeatureWeight - Only routes which do not contain the feature will be considered, otherwise no route will be returned</li>
</ul>
<p><b>See also </b><a href="qml-qtlocation-routequery.html#featureTypes-prop">featureTypes</a>, <a href="qml-qtlocation-routequery.html#resetFeatureWeights-method">resetFeatureWeights</a>, and <a href="qml-qtlocation-routequery.html#featureWeight-method">featureWeight</a>.</p>
</div></div><!-- @@@setFeatureWeight -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2015 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|