Can I set User's mode - set to walking, Polyline should indicate steps/ points on it, instead of having lines

When user’s mode is set to walking the Polyline plotted on the map should indicate steps/point on it, instead of having dashed-lines styles, how can I achieve this?