Hi,
as Klaus said the krpano-arrays internally normal JS-arrays. But no matter what I try, I can´t access the krpano-array with JS.
Here is what I´m trying to achieve:
in krpano:
Now we have a krpano-array with [1,2,3].
But how can I access this array within JS?
var new_array = krpano.get("my_array"); produces errors all over the place if I try to access this array
new_array=[object Object]
Uncaught TypeError: find.includes is not a function
applyFilter http://localhost/Tour_Database/tour.html:100
applyFilter http://localhost/Tour_Database/tour.html:100
applyFilter http://localhost/Tour_Database/tour.html:99
onreadystatechange http://localhost/Tour_Database/tour.html:105
readData http://localhost/Tour_Database/tour.html:88
anonymous http://localhost/Tour_Database/tour.js line 6 > Function line 3 > Function:3
js http://localhost/Tour_Database/tour.js line 6 > Function:3
executeActions http://localhost/Tour_Database/tour.js line 6 > Function:3
callaction http://localhost/Tour_Database/tour.js line 6 > Function:3
if http://localhost/Tour_Database/tour.js line 6 > Function:3