So, coming back to my GPX map, this evening I had some free time to integrate lazy-loading using Stimulus-Use useIntersection mixin, and it seems to work great. I’ll test this functionality in the coming days, and hopefully, go for another long walk and try out the Open GPX Tracker.
Status
Recent posts
- 22:28 (+0200)
So here it is, GPX route interactive visualization! There are still some things to be implemented like lazy loading, activity type, and CMS integration but I’m happy with the early result. So, I ended up using the Leaflet and Leaflet GPX plugin which works great out-of-the-box, as soon as I can I’ll test out the Open GPX Tracker which should allow me to easily track and download my …
Show more21:28 (+0200)Meanwhile, for tracking itself I found Open GPX Tracker for iOS instead of using Strava, which is a free app that does everything I need.
18:02 (+0200)Actually, after some lurking around the internet I found this interesting Leaflet plugin that parses the GPX data for displaying interactive maps, it’s exactly what I had in my mind. I also found this GPXParser.js library which might be useful… I’ll try to build a simple prototype and if it’s something that could work for this section.
Show more17:52 (+0200)I tracked today’s walk with Strava and thought about adding a map with a route to my status posts using GPX data which would make a much nicer UX than sharing a photo, but unfortunately, Strava lets you export data only from their website which makes it a little bit arduous. And TinaCMS doesn’t let you upload *.gpx files making it even more arduous. If I find solutions to these …
Show more14:03 (+0200)I tried uploading multiple images from my iPhone but apparently, there is a bug in TinaCMS that rotates every image to the left. It works correctly only from a PC.
22:32 (+0100)Another status post with a simple code example in JavaScript and CSS:
const sayHello = (name) => { return `Hi ${name}!`; };
Show more.heading { text-transform: uppercase; text-shadow: #FC0 1px 0 10px; font-size: 22px; }
19:38 (+0100)Another status post using TinaCMS. Had some problems with the date field, should work now.
19:34 (+0100)