AnsweredAssumed Answered

What is the correct way to use measureOnLine attribute for polyline?

Question asked by akcharith on Oct 27, 2018
Latest reply on Oct 28, 2018 by akcharith

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?