I am trying to draw LineString
in openlayers with consecutive Points
to give it a feel of animation like it is drawing from start to end.
I tried to achieve it by following this example. All references of OL2 are converted to OpenLayers 5, but still drawing should happen one point followed by next for entire array and not at once.
Find my code with current output here - my code.
[For reference] This is I am trying to achieve Snake animation for leaflet.