public-transport/gtfs-rt-inspector

improve map view UX

Open

#1 opened on Dec 30, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (9 forks)github user discovery
help wanted

Repository metrics

Stars
 (56 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

  • on mouseover/click on a vehicle, show its properties (e.g. vehicle.(id, label, license_plate) & trip.(trip_id, route_id, start_date, start_time))
  • on feed refresh, only fit the map viewbox to the data if the user hasn't zoomed so far

Contributor guide