[Solved] Google Maps Adding Multiple Polylines
Basically the answer had to do with scoping and the use of call back methods solved this problem.Also as my research revealed a DirectionsRenderer needed to be created for each route. This was achieved by creating a DirectionsRenderer array and using a call back method passing the index value. This allowed the relevant routes to … Read more