We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed3aac2 + 58f2c31 commit 8712f6bCopy full SHA for 8712f6b
map-with-truck-route-from-a-to-b/js/app.js
@@ -10,7 +10,7 @@
10
* @param {H.service.Platform} platform A stub class to access HERE services
11
*/
12
function calculateRouteFromAtoB (platform) {
13
- var router = platform.getEnterpriseRoutingService(),
+ var router = platform.getRoutingService(),
14
routeRequestParams = {
15
mode: 'fastest;truck',
16
representation: 'display',
@@ -250,4 +250,4 @@ Number.prototype.toMMSS = function () {
250
}
251
252
// Now use the map as required...
253
-calculateRouteFromAtoB (platform);
+calculateRouteFromAtoB (platform);
0 commit comments