I am implementing the angular google maps where I am getting pickup and destination location from user and displaying the direction through <agm-direction>
in angular google maps. I have displayed the marker for origin and destination on maps but after implementing the <agm-direction>
it started displaying the default markers 'A' and 'B'. I want to either remove these markers from map or change the default icons from 'A' and 'B' to some other icon.
<agm-map id="map" [latitude]='lat' [longitude]='lng' (mapReady)="addMarker()" [zoom]='zoom'>
<agm-marker [iconUrl]="curicon" [latitude]="lat" [longitude]="lng"></agm-marker>
<agm-marker [iconUrl]="desticon" [latitude]="latitude" [longitude]="longitude"></agm-marker>
<agm-direction [origin]="origin" [destination]="destination" >
</agm-direction>
</agm-map>
ts code :
public origin: {lat :30.7224576,lng:76.6984192};
public destination: {lat:30.7134158,lng:76.71059969999999};
public curicon="http://www.google.com/intl/en_us/mapfiles/ms/micons/blue-dot.png";
public desticon="http://www.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png";