2
I’m working with the Google Maps Api
, and need to leave the name statically appearing above/below the Marker
, I wanted to put this label/title when creating the Marker, as the title
, someone knows a simple way to do this ?
I’d like something like that :
My Masrker is being incited this way:
var marker = new google.maps.Marker({
position: { lat: lat, lng: lng },
map: map,
title: localizacao.message.nome,
icon: '../Content/imagens/Icones/Markers/green-marker.png'
});
Thank you very much.
Thank you very much, I just left an infowindow open by default but already helped me enough your answer.
– William Cézar