Skip to content

Center map on first shape coordinates when no vehicles available - #37

Merged
chtitux merged 1 commit into
mainfrom
claude/gtfs-route-shapes-display-015uG9wa8jC4pf4ddJdfCU6z
Nov 27, 2025
Merged

Center map on first shape coordinates when no vehicles available#37
chtitux merged 1 commit into
mainfrom
claude/gtfs-route-shapes-display-015uG9wa8jC4pf4ddJdfCU6z

Conversation

@chtitux

@chtitux chtitux commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

When there are no realtime vehicle positions but shapes are loaded, the map now centers on the first coordinates of the first shape instead of defaulting to Paris. This provides a better initial view of the transit network.

When there are no realtime vehicle positions but shapes are loaded,
the map now centers on the first coordinates of the first shape
instead of defaulting to Paris. This provides a better initial view
of the transit network.
@chtitux
chtitux merged commit 271b427 into main Nov 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants