Reputation: 677
My problem is that waypoints are highlighted in directions list like: start to waypoint 1, waypoint 1 to waypoint 2, ...
here is an example how it is looking: http://www.ridersguide.co.uk/Ride_721
I'd like to show start and instructions how to reach destination points without showing waypoints.
Do you have some idea?
Upvotes: 1
Views: 5027
Reputation: 1209
@Ramesh K's answer is generally correct. However, in this way, you also kill the marker of start point and end point. You need to create to marker by yourself then.
Upvotes: 0
Reputation: 8322
you can supress the markers with these settings
var directionsDisplay = new google.maps.DirectionsRenderer({
suppressMarkers: true,
suppressInfoWindows: true,
});
Upvotes: 6