You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1>Map with the truck routes and road restrictions</h1>
21
22
<p>Show a truck routes with the truck related road restrictions highlighted on the map</p>
22
23
</div>
23
-
<p>This example calculates and displays 3 different truck routes with the same start and end positions,
24
-
but various truck attributes.
24
+
<p>This example calculates and displays 2 different truck routes with the same start and end positions,
25
+
but different truck attributes.
25
26
<br>
26
27
The start position is in <b>Manhattan</b> and the end position on the opposite bank in <b>Newport</b>.
27
28
<p>
28
29
<ul>
29
30
<li>The blue route is a simple truck route (without specifying any truck attributes).</li>
30
-
<li>The green route shows that a truck must use <b>Lincoln Tunnel</b> instead of <b>Holland Tunnel</b>
31
-
when it has four axles (uses the <code>truck[axleCount]</code> parameter of the Routing API).</li>
32
-
<li>The violet route shows that a truck with the four acles transporting flammable goods should take a much longer detour
33
-
(uses the <code>truck[shippedHazardousGoods]</code> parameter of the Routing API).</li>
31
+
<li>The fuchsia route shows that a truck with four axles and one trailer transporting flammable goods should take a much longer detour
32
+
(uses <code>vehicle[axleCount], vehicle[trailerCount], vehicle[hazardousGoods]</code> parameters of the Routing API).</li>
34
33
</ul>
35
34
</p>
36
35
<p>More information about above mentioned routing request parameters can be found <ahref="https://www.here.com/docs/bundle/routing-api-v8-api-reference/page/index.html#tag/Routing/operation/calculateRoutes" target="_blank">here</a>.</p>
0 commit comments