johnjohnston
johnjohnston

A short walk along the canal a walkmap.

|
Embed
Progress spinner
johnjohnston
johnjohnston

@scottelias hi Scott, I use the trails iOS app. Works well for me.

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston Trying to decide whether to re-up on Cyclemeter and that Trails app looks pretty interesting. I don't have a watch, but that's no biggie.

|
Embed
Progress spinner
johnjohnston
johnjohnston

@jeremycherfas I’ve no watch either. I’ve not tried any other gpx recorders for a few years no because I like the way trails works. It has stoppped me getting lost a couple of times too.

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston Cyclemeter has to go! Latest upgrade has full screen ads with music that cannot be dismissed for 3 seconds. I may give Trails a trial.

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston I'm really liking Trails. Thanks for the pointer. I also like the way you present your walks and the workflow you have shared. I'm guessing that you wrote all the js stuff yourself. Not a skill I have. But I'll keep looking around.

|
Embed
Progress spinner
johnjohnston
johnjohnston

@jeremycherfas Thanks, I did write that stuff. JS is not a skill I really have either. I do like messing around though.

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston I will have to take a look behind the scenes and see what I can borrow.

|
Embed
Progress spinner
In reply to
johnjohnston
johnjohnston

@jeremycherfas let me know if you think I can help. My vague an ambitious plan is 1. To make it look nicer and 2 to turn it into a WordPress plugin taking my time though.

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston Will do. Thanks. Need to make some time, and I have another indieweb thing I want to improve. I too am taking my time.

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston I’m sure I am being deeply thick here, but I have looked at your source page and I am completely mystified. Where is leaflet.js getting the gpx record for a particular walk?

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston Is it walkmaps.js on your server? Because I can't see that, I still can't understand where the gpx file is.

|
Embed
Progress spinner
johnjohnston
johnjohnston

@jeremycherfas there is a folder /walks/gpx, the file name is a parameter in the map urls. The other one is the id of the flickr album.

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston Ah. So there’s some processing of the POST. need to look more closely.

|
Embed
Progress spinner
johnjohnston
johnjohnston

@jeremycherfas basically /walks/walkmaps.js pulls in a photoset from flickr and the gpx track (pointed to in the map.html url parameters) via apis and adds them to the map. I imagine anyone that knows anything about JavaScript would be horrified. My technique is to google stuff and just keep guessing and checking.

|
Embed
Progress spinner
jeremycherfas
jeremycherfas

@johnjohnston That’s my approach for PHP. You are way ahead of me in js.

|
Embed
Progress spinner