I am eager to implement Lasso Selection functionality on Here Maps.
In my previous projects, I successfully developed a feature for drawing polygons on the map. By capturing pointermove and pointerdown events, I was able to update the H.map.Polyline as the pointer moved and place an H.map.Marker when the user clicked. Finally, I added an H.map.Polygon to complete the shape. For a demo, you can check out this link: Polygon Drawing
Now, I want to incorporate Lasso Selection, a method that allows users to freely draw shapes for selection. However, I am uncertain about how to approach this since the lines are not necessarily straight in this technique. To see an example of Lasso Selection, you can visit this link: Lasso Example
Can anyone guide me on creating a free-form (non-geometric) drawing tool like Lasso Selection on Here Maps? Which component from H.map should I utilize for this purpose?