Hello
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.
undefined
RangeError: invalid array length
Cesium.js:456:14694
Cesium.js:456:16540
Cesium.js:456:21505
Cesium.js:456:27300
Cesium.js:462:1912
Cesium.js:461:21086
" Cesium.js:462:1412
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.
Any ideas?
Regards
Martin
Martin,
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.
Ciao
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 
Regards
Martin