Polylines in maps
It would be nice to be able to create polylines in map scenes by simply providing an array of GPS coordinates.
I've recently started exploring this idea as a relatively recent dive into more advanced Tasker profiles.
In the searching I've done, I found DirectionsRenderer references on the maps API. I have yet to figure out if it's even possible and, if so, how to parse that information from a query and display it as an overlay on the map at the coordinates I place in the scene. I think you're onto something with the polyline idea, but I don't know enough about programming to figure it out without hours of fruitless searching.
Maybe by the time I figure this out, I'll be an authentic developer!
Edit: forgot to mention the idea I had that perhaps a javascriptlet could be used in the same way it is used to get a routesummary and time in traffic in order to define the polyline between two set points or %LOC if you want from your current location. Again, I simply don't know the programming commands to get that information and convert it to a variable that Tasker can use to display the polyline nor do I know for certain that Tasker is capable of displaying a polyline on a map, and if it is, whether a variable would be the right method for transmitting this data or not.