samiha-rahman / soen390

2 stars 0 forks source link

Bug-14: Outdoor Direction routes does not display #165

Closed Jack-Leung closed 4 years ago

Jack-Leung commented 4 years ago

Description: In Outdoor map, when user clicks on a place and clicks on either set Starting or Destination point button, the direction routes does not display properly.

Resolution: In map-coordinator.service.ts, in line 84, the second parsedSource should be parsedDestination this._prepareOutdoor(maps, parsedSource, parsedSource, directionForm.transport); [bad] this._prepareOutdoor(maps, parsedSource, parsedDestination, directionForm.transport); [good]

Reproduce:

Actual Behavior: The map display a single marker and no route from starting to destination.

Found in commit: cb03171

Resolved in commit: