Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. HEREMap.prototype.drawRoute = function(fromCoordinates, toCoordinates) {
  2. var routeOptions = {
  3. mode: 'fastest;car',
  4. representation: 'display',
  5. alternatives: 2,
  6. waypoint0: Utils.locationToWaypointString(fromCoordinates),
  7. waypoint1: Utils.locationToWaypointString(toCoordinates)
  8. };
  9.  
  10. this.routes = new HERERoute(this.map, this.platform, routeOptions);
  11. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement