🎁📬❄️📦Adafruit Holiday Shipping Deadlines 2019: Please place all UPS 2 Day orders by 11am Monday, December 16 📦❄️📬🎁
0

Map does not respect "Hours of History" value
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Map does not respect "Hours of History" value

by jefish on Thu Nov 21, 2019 3:53 am

Working with the Treat Tracker example, I've found that the map object will always display the entirety of the feed data. I've been using this during my commute to test out the hardware, and it doesn't matter if I set 1 hour, 2 hours, or no value at all, the map will always show all points from all trips across all days. This makes testing things difficult (antenna placement, FONA settings, watchdog values, etc) as every test just globs together with those before it.

The only workaround I've found is to delete the feed, recreate it, and then recreate the map object pointing to the new feed.

Am I misunderstanding the purpose of the Hours of History value?

jefish
 
Posts: 44
Joined: Fri Sep 12, 2014 2:08 am

Please be positive and constructive with your questions and comments.