I've been doing some work on preparing an optimal route in python and I have circa 60 latitude longitude points in a pandas dataframe that I would like to turn into a route displayed on google maps. I don't need directions from google, just to display a route through my already ordered waypoints.
It would be great if I could do this in code but even a manual hack/solution would be acceptable. I understand there's a max 10 limit to number of waypoints in the browser but there are ways round it. I tried to generate a url like this https://www.google.com/maps/dir/lat1,long1/lat2,long2/lat3,long3 ... and so on up to 60. This does display the points in google maps but doesn't draw a route.
I think based on what I've read it's possible to write some javascript to chunk all these up and plot it but (although I did try to adapt a couple of scripts) that's beyond my capabilities at the moment.
Any thoughts on best approach?
Cheers