I tried to store lots of data (coordinate lists, names, links etc.) in an array (basically this works) for later use. However, when I try to retrieve an element from the array, I always get the following error message:
"An error occurred while rendering. Rendering has stopped.
RangeError: invalid array length
I reduced my “array” to one variable with two elements, but even then I get this message. When I replace the array with a “normal” variable it works perfectly.
It’s impossible to answer your question with a code sample that shows exactly what you are doing. What I can tell you is that the error you are getting is the generic error that usually happens when the app gets bad or undefined data to Cesium. If you can post a small example that reproduces the problem, we’d be happy to help you out.
Thanks for the hint with the error-meaning (bad/undefined data). I thought I checked everything, but in fact, shame on me: I tried
to get the last element of the array, so far so good, but retrieved in fact the last element+1, i.e. an element that does not exist, so of course Cesium got no data.
Sorry for the disturbance