draw a curved linestring with different custom styles for each segment using openlayers & turf

Viewed 74

I am working with openlayers 6 and I need to draw curved linestring on the maps, a linestring with different segments where each segement has it's own stroke and shapes, then i should modify it ( adding and removing points, stretching, shrinking it). i already made a solution with geometryFunction of draw but it's so long and each time i should modify the styles geometry .... is there another way?! My knowledge of Openlayers is very limited so I am asking for guidance.

click here to see the image

0 Answers
Related