Good morning, this is my first question here, so if I do something out of the standard I apologize in advance.
I need to change the default color of the google maps pin to some hexadecimal value, would it be possible? I already anticipate that I can not create pngs of each color and search for a url because the color comes from the database.
Hereismycodebelow:
var marcador = new MarkerWithLabel
({
position : {lat: parseFloat (dados.latitude), lng: parseFloat (dados.longitude)},
raiseOnDrag : true,
map : mapa,
icon : // preciso fazer algo aqui para que o pin assuma a co com base no hexadecimal que vem da variável
visible : true
});