I created a polyline myself and testing the measureOnLine attribute to use it in another script which goes with real data. "polyline.measureOnLine((x, y))" doesn't work ("I'm pretty much sure the point (x,y) is on the polyline. The funny thing is
"polyline.measureOnLine(polyline.positionAlongLine(length))" works (Although there is no use of such). So I believe there is something is missing form me. Can anyone help me to overcome this?