Here's what the following code can do.
- Draw path as dotted lines
- Conditionally animate the path.
- Draw Multiple lines between different starting and ending points (Unlike adding waypoints in the map.)
Here's what it looks like in action.
Simple Starter code to get you started on emulation of movement of an icon on a Map Path between source and destination.
JavaScriptMIT