I would like to know If my touch is on a line or not. I could not figure out how to do it with polyline. If I can cast each segment into a line, then I can check it using "Y= mx + c". But I am not able to get individual segment from my polyline and I dont see any functions in the SDK to acheive this. Does anyone have any idea on how to 1. Cast segment of polyline into a line? 2. Or, check if a point is on a polyline or not?