openplans/OpenTripPlanner — Issue #543: Raphael Exception
Author: fpurcell
Created: 2011-10-13 23:56:25+00:00
State: open
Labels: bicycle, webapp

Here are a list of URL(s) that Raphael / Elevation graph doesn't like:

http://maps5.trimet.org/otp?submit&fromPlace=45.420597,-122.675674&toPlace=45.516384,-122.63726&mode=TRANSIT,BICYCLE&min=TRIANGLE&triangleTimeFactor=0&triangleSlopeFactor=0&triangleSafetyFactor=0.999999999&maxWalkDistance=4828&time=10:04 pm

EXCEPTION : exception Planner.newTripPlan: exception TypeError: E[0] is undefined Planner.js (line 289)
([object Array])@http://maps5.trimet.org/opentripplanner-webapp/js/lib/raphael/raphael-min.js:7 e("M NaN 42.204724200000015 L NaN 42.204724200000015 ")@http://maps5.trimet.org/opentripplanner-webapp/js/lib/raphael/raphael-min.js:7 ([object Object],[object Object])@http://maps5.trimet.org/opentripplanner-webapp/js/lib/raphael/raphael-min.js:7

NOTE: I'm going to surround this with a try/catch and log the exception, so it doesn't kill the rendering of the trip...