How to change that text message (red box) from goolge maps to a personalized one for my maps, thanks.
using a div instructions I did the effect myself - thanks for your comments.
position: absolute;
top: 0px;
left: 0px;
background-color: gray;
opacity: 0;
width: 100%;
height: 100%;
pointer-events: none;//<-------- esto resolvió mi problema que capturaba
//el div en lugar del mapa antes de tener esta instrucción
animation: fadein 15s;
}
@keyframes fadein { from {opacity: 0.7; } to {opacity: 0; } }
You can use jquery to do it using this code:
$('.gm-style-pbt').text('Texto de ejemplo')
Or you can do it using the native code:
document.getElementsByClassName('gm-style-pbt')[0].innerHTML = 'Texto Ejemplo'