Anraza-Valtieri / ITP-Team-9-SmartandConnectedBusStops

1 stars 0 forks source link

[BUG] Bus stops with same names as others have wrong information in nearby search #30

Closed Anraza-Valtieri closed 6 years ago

Anraza-Valtieri commented 6 years ago

Bus stops with similar names with other bus stops will display the wrong information.

This is due to matching bus stop names against allBusStops Hashmap. It will return the first entry that has the same name.

At the moment, the Nearby search uses Google API, this does not have bus ID for us to double check against. Likely will have to use distance checking to validate.