johnjohnston
johnjohnston

A short walk along the canal a walkmap.

|
Embed
johnjohnston
johnjohnston

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

|
Embed
In reply to
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
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
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
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
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
jeremycherfas
jeremycherfas

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

|
Embed
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
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
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
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
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
jeremycherfas
jeremycherfas

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

|
Embed
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
jeremycherfas
jeremycherfas

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

|
Embed