'How to add different map marker icon for multiple markers

I am using angular google-map component for generating map, i want to display multiple marker with different marker icon. I am using options field to set marker option data but it is setting same last data of the list

<google-map [options]="options" >
<map-marker *ngFor="let markerPosition of markerPositions; let i = index"
         (mapMouseover)="markerMouseOver(markerPosition,i)"
         [position]="markerPosition"
         [options]="markerOptions">
      </map-marker>
</google-map>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source