Ben and I added an endpoint to the CTA-Handler.js file which returns a JSON containing the closest distance from the user to a CTA stop (searches through all CTA stops) and the routes which pass through the stop. This is for Front-End to implement to the user to choose what route they are going on.
Ben and I added an endpoint to the CTA-Handler.js file which returns a JSON containing the closest distance from the user to a CTA stop (searches through all CTA stops) and the routes which pass through the stop. This is for Front-End to implement to the user to choose what route they are going on.