transitmatters / t-performance-dash

TransitMatters performance visualizer for the MBTA
https://dashboard.transitmatters.org/
MIT License
48 stars 16 forks source link

deps: Use `@transitmatters/stripmap` package for line rendering #998

Open idreyn opened 1 week ago

idreyn commented 1 week ago

Motivation

We have published our SVG line rendering code at @transitmatters/stripmap for easy reuse across our projects.

Changes

Shouldn't induce any functional changes — strip maps should render exactly as before in slow zones view.

Testing Instructions

I tested /slowzones and /{line}/slowzones and observed that they all worked. The tooltips appeared in the right place and the maps switched orientation at the expected breakpoints.