How should I present multiple point on the map in ThingSpeak Visualization code?
13 views (last 30 days)
Show older comments
Candy Lau
on 30 May 2022
Edited: Christopher Stapels
on 6 Jun 2022
I am working on showing the coordinate on the map in my ThingSpeak channel. However, it only allow to show 1 coordinate on my created map. How should I hold the previous coordinate, then adding multiple coordinate continuously without refreshing the webpage? (Paid license account)
Hopefully someone can provide your suggestion to me. Thanks in advance.
0 Comments
Accepted Answer
Christopher Stapels
on 31 May 2022
Edited: Christopher Stapels
on 6 Jun 2022
https://api.thingspeak.com/update.json?api_key=xxxxxxxxxxxxxxxx&lat=22.3&long=34.5
Then in your MATLAB visualization, use thingSpeakRead, and set the name-value pair 'location' to true.
ThemeCopy
myData=thingSpeakRead(876466,'Location',true,'outputformat','timetable','numPoints',10);
geoscatter(myData.Latitude,myData.Longitude)
More Answers (0)
Communities
More Answers in the ThingSpeak Community
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!