wtg / shuttletracker

🚐 Shuttle tracking for RPI.
https://shuttles.rpi.edu
GNU Affero General Public License v3.0
46 stars 53 forks source link

Added functionality for multiple routes to overlap and be viewable. #308

Closed seandheffernan closed 3 years ago

seandheffernan commented 3 years ago
Do not merge until tested

What is changed/New?

Functionality added so that when multiple routes are displayed on the Tracker and overlap, the widths of the routes are modified so that they are all viewable (no routes are covered).

How was this accomplished?

Checker is added to see how many routes are going to be rendered on the map. The larger the amount of routes, the smaller the width change is.

Is This Related to An Issue? (link if applicable):

Fixes issue #285

Additional Notes:

codecov[bot] commented 3 years ago

Codecov Report

Merging #308 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #308   +/-   ##
=======================================
  Coverage   37.69%   37.69%           
=======================================
  Files          17       17           
  Lines        1398     1398           
=======================================
  Hits          527      527           
  Misses        809      809           
  Partials       62       62           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4e35086...5200dfc. Read the comment docs.