Animate a dashed line

Is there a way to animate a dotted or dashed line to show a movement over a map? Like in this AfterEffect tutorial:
Best regards
Claes G Andersson

Try the “Subtractive Animation Technique” as explained by “JK”…
He is using Toon Boom Studio, but the same technique can be applied in Animate…