
You'd need to parse out the shapes.txt file from the GTFS package. To have nice looking paths, download the GTFS schedule files from MTA at (agree to the terms, look for "GTFS" then download the data for New York City Transit).


env file as MAPBOX_TOKEN.ĭownload Stations.csv from the MTA's website and drop it in /src/data/files Sign up for an account with Mapbox, get a token and add it to an.

This is a React app that relies heavily on goodservice.io's APIs to dynamically generate real-time route maps for the New York City subway with the help of Mapbox, particularly useful when service changes regularly occur on weekends and overnights.Ī Mapbox theme was created for this project and has been made public.
