google / transitfeed

A Python library for reading, validating, and writing transit schedule information in the GTFS format.
https://github.com/google/transitfeed/wiki
Apache License 2.0
681 stars 253 forks source link

ScheduleViewer Index marker class missing methods #520

Open onowakow opened 2 years ago

onowakow commented 2 years ago

While testing a GTFS feed, trips will not display stops after a stop is repeated.

I found in /transitfeed/gtfsscheduleviewer/files/index.js a whole number of missing methods on a class typically found in a variable called "marker". For instance, marker.getText() is called in function addStopMarker (172). This causes the for loop at function displayTripStopTimes to terminate before the end of the loop: throws error that .getText() is not a function.

onowakow commented 2 years ago

This is associated with labeled_marker.js

markerwithlabel.js is imported in index.html, but labeled_marker is not.