Skip to content

Commit 8712f6b

Browse files
authored
Merge pull request #4 from jason-fox/master
Amend example to use 7.2 Routing service
2 parents ed3aac2 + 58f2c31 commit 8712f6b

File tree

1 file changed

+2
-2
lines changed
  • map-with-truck-route-from-a-to-b/js

1 file changed

+2
-2
lines changed

map-with-truck-route-from-a-to-b/js/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @param {H.service.Platform} platform A stub class to access HERE services
1111
*/
1212
function calculateRouteFromAtoB (platform) {
13-
var router = platform.getEnterpriseRoutingService(),
13+
var router = platform.getRoutingService(),
1414
routeRequestParams = {
1515
mode: 'fastest;truck',
1616
representation: 'display',
@@ -250,4 +250,4 @@ Number.prototype.toMMSS = function () {
250250
}
251251

252252
// Now use the map as required...
253-
calculateRouteFromAtoB (platform);
253+
calculateRouteFromAtoB (platform);

0 commit comments

Comments
 (0)