Our web application can dynamically display the real-time collection route based on the status of trash bins. With the starting point set as the trash truck station, which is marked by the flag, the route is planned according to users' selection on the right. Users can choose to display the trash bins with different color-coded status. Most likely, the user would be interested in collecting the trash bins with red and yellow status. After users' submission, the detailed textual route is displayed on the right, and plotted on the map as well.
Example of TrashList Stored in Elastic Search
Here is an example of the data stored in Elastic Search. For each trash bin, several fields, namely, station id, trash level, air description, location, air level, and AQI are collected from different sources and stored as a Json file.
Example of Polyline Overview
This is an example of the route planned by the Google Map Directions API. Given the locations of interested trash bins, the API will return the route by describing the locations of middle points, the directions to reach the next points, and the time duration.