Answer the question
In order to leave comments, you need to log in
How to implement custom markers amg Angular 2+(google maps)?
Basically, there is something I don't understand at all. Imported amg module. I put a map in the component ... everything works as it should, both the paths and the usual points, but I did not find the docks on how to customize this google marker
<agm-marker *ngFor="let marker of markers" [latitude]="marker.coordinates.lat" [longitude]="marker.coordinates.lon" [iconUrl]="false"></agm-marker>
<agm-marker *ngFor="let marker of markers" [latitude]="marker.coordinates.lat" [longitude]="marker.coordinates.lon" style="border: 5px solid white" [style.backgroundColor]= "'#'+ marker.marker_bg"></agm-marker>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question