I want to develop Lasso Selection on Here Maps.
I had previously made developments for drawing polygons on the map. Simply put, by listening to pointermove and pointerdown events; As the pointer moved, I updated the H.map.Polyline and put an H.map.Marker on the clicked location on the user click event. In the last stage, I placed an H.map.Polygon. You can follow the link for the demo. Polygon Drawing
What I want to do now is the selection method known as Lasso Selection. I don’t know where to start because the lines are not straight in this drawing method. You can also look at this link for the Lasso Selection example. Lasso Example
How can I create a free format(non geometric) drawing like Lasso Selection on Here Maps? Which component can I use in H.map?