There is an array of coordinates that I am building route for with Routing API. Transforming received sections to polylines with H.map.Polyline, adding them to a group and then add group to a map instance.
Is there a way to check if current location belongs to one of the polylines?
Basically I need it to handle logic that displays data about nearest point and provide different styling for a segment of route user is currently in.