conveyal / otp.js

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

Clicking Submit results in no maxWalkDistance parameter #81

Closed ed-g closed 4 years ago

ed-g commented 8 years ago

When OTP.js creates an itinerary from loading the page, it includes a maxWalkDistance parameter and works fine.

http://maps.cherriots.org/planner/#plan?fromPlace=44.94728163729739%2C-123.07718009708354&toPlace=44.90988708140662%2C-123.0484593438651&date=06%2F21%2F2016&time=9%3A46%20AM&maxWalkDistance=8046&optimize=QUICK&mode=TRANSIT%2CWALK&numItineraries=3&wheelchairAccessible=true

When the itinerary is request through the "Submit" button, no maxWalkDistance parameter is supplied, and no itineraries are found.

Thanks!

Ed

antrim commented 8 years ago

This has been solved by @ed-g in https://github.com/ed-g/otp.js