You are reading a single comment by @moocher and its replies.
Click here to read the full conversation.
-
This is very excellent, thanks! I'll have a play
he's planning on riding anything up to 300km
@Greenbank - steady, I think my absolute max will be about a 3rd of this (in my defence its likely to be singlespeed and partially offroad)
nice! in which case here's a new version of the fiddle that will render a 'download' link and if you click it then it should download a basic GPX to make it easier to go into Komoot etc -
https://jsfiddle.net/nu93ptog/1/
to try different point, then turf.transformTranslate uses decimal degrees so it currently has 0 for north... if eg you wanted the start point to become the 3 o'clock point of the circle then you'd need to move it to the west by the amount radius to become the circle centre so use 270 instead of 0
and when changing the start point, if you don't know GeoJSON already, then watch out, because it uses [x,y] coordinates, ie [Lng,Lat] rather than the more familiar [Lat,Lng]