I use google maps api vs3. I have drawing manager and when I clicked somewhere on polyline I get length of polyline and coordinates in this point.see screenshot. I make it with code
google.maps.geometry.spherical.computeLength(polyline).getPath()
I need to calculate length from start polyline through path to mouse click. Is it possible?