Hello,
I am trying to create a route in a map in Thunkable X by gathering coordinates every N seconds, and then painting a polyline on the map.
However, I’ve found that when I use variables inside the “addPolyline” method, I always get an internal error. Please see screenshot below:
I can create a list from variables, but the error happen when assigining it to addPolyline.
Things I’ve tried before posting:
- The one on the screenshot.
- Creating a local variable with the fields “latitude” and “longitude” and assigning to addPolyline directly.
- Serializing and unserializing this last local variable.
None of these 3 approaches worked.
Is it possible to create a polyline from variables? if so, is there any example available to check what am I doing wrong?
Thank you !