I see following example to highlight polyline feature by giving from and to points.
Once the feature is highlighted after entering To point in above example and if user clicks on the highlighted line then I want to retrieve the value of the clicked point on particular polyline. e.g. From Point = 30 and To Point = 100 are highlighted. Now, if user clicks anywhere on the line then I want to retrieve correct measure. Let's say user clicked on point 50 then I want to populate 50 in From Point field.
How this can be achieved? Any suggestions?