If you choose 'problem or bug report', please select OS: (check one with "x")
[ x] Android
[ ] iOS
[ ] Browser
I am trying to get latitude and longitude of flight route from data json api . While updating points of flight path using setInterval l get duplicate of flight path .
I'm submitting a ... (check one with "x")
If you choose 'problem or bug report', please select OS: (check one with "x")
I am trying to get latitude and longitude of flight route from data json api . While updating points of flight path using setInterval l get duplicate of flight path .
Before data refresh
https://i.stack.imgur.com/SiaE1.png enter image description here
After refresh data
https://i.imgur.com/0CDnDcD.png
my code