I have a poly line with 3 co-ordinate, say (x1,y1), (x2,y2), (x3,y3). Can I get the vertices (x1,y1), (x2,y2) if clicked on line-segment drawn by (x1,y1), (x2,y2)?
I have a poly line on map that with path [[x1,y1],[x2,y2],[x3,y3]]. And I have electrical box at the corresponding paths.
When clicking the segment drawn by the points x1,y1 and x2,y2 I want to get the point (x1,y1) and (x2,y2). Same for path (x2,y2), (x3,y3).
I'm using Javascript API.