conveyal / otp.js

OTP Javascript Client & Data Bindings
MIT License
19 stars 20 forks source link

Otp.js always starts in the US #46

Closed abyrd closed 4 years ago

abyrd commented 9 years ago

Otp.js does not appear to query the OTP server to center the map. You have to configure the start location in config.js, and it defaults to a location in New York state.

abyrd commented 9 years ago

Fixing this will require otp.js to query the server for the router list, so this would also be a good time to add a drop down box for choosing the router. But which router will be selected when the user first arrives on the site? Ideally we would choose the router based on the person's location. If that is not available, then we should use the largest router (in terms of transit density or some other proxy for population) since that's where the user is statistically most likely to be searching.