I'm making a website that will contain several bookmarks, but how do you do that by clicking on the bookmark, instead of opening the default window with marker information, does it point to another page or open a modal window?
I'm making a website that will contain several bookmarks, but how do you do that by clicking on the bookmark, instead of opening the default window with marker information, does it point to another page or open a modal window?
What you need to do is listen for the click
event of a Marker
marker.addListener('click', function() {
// coloque aqui o que você quer fazer quando clicar no marker
})}