This is probably a stupid question. I am using the google maps InfoWindow to display some text whenever i hover above certain places (onmouseover). I'd like to be able to copy the text that gets displayed. Any suggestion is welcome.
Thanks!
This is probably a stupid question. I am using the google maps InfoWindow to display some text whenever i hover above certain places (onmouseover). I'd like to be able to copy the text that gets displayed. Any suggestion is welcome.
Thanks!
Create a div with a CSS style="user-select: text !important"
inside the content block of the info window.
var infowindow = new google.maps.InfoWindow({
content : "<div class='infowindow-content' style='user-select: text !important'>Your content goes inside here...`enter code here`
</div>"
});