1
Good morning guys, it’s my first question here, so if I do anything out of the norm I apologize in advance.
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.
Follow my code below:
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
});
Thanks in advance