Hide marker from directions service in google maps api v3
When instatiating the DirectionsRenderer, set suppressMarkers to true.
directionsDisplay = new google.maps.DirectionsRenderer(
{
suppressMarkers: true
});
Here's the reference
Depends of what you need
directionsDisplay.setOptions({
suppressPolylines: true,
suppressMarkers: true
});