Take the 2-minute tour ×

On google maps API-V3; the only way to show the steps along a path shown by polylines is to set an ugly marker at the polyline joints. Instead; is there anyway to shorten the ends of a polyline?

share|improve this question

1 Answer 1

You can draw a polyline without showing markers, setting them to visible: false. Can you explain "shorten the ends"? You mean move the endpoints along the segment so the length decreases? How would you decide how far? Percentage?


share|improve this answer

Your Answer


