Unable to get chart from elevation chart

3 posts / 0 new
Last post
schaefep
Unable to get chart from elevation chart

New to Mapquest, working on a project for school. How do I give a JSON array that can be parsed for an elevation chart? I have tried many things, including setting the inFormat parameter, but it always says it is unable to parse it despite me converting it from a JavaScript array into one of the proper format. Strings do not work, as they only return a CORS error after hanging for several seconds.


schaefep
Update

Update on the issue- the JSON seems to be ok now, but now I can only get 504 errors from the chart.


schaefep
Got it figured out

I figured it out, I was using the lat/long pairs in the reverse order, and the values I was using for lat just happened to be out of range for the function.