Does polyline support points so they will be displayed like this:
I am try
You can use points and an array to save the points and then you can create a custom marker along the polyline.