How do you listen to POI clicks using the Google Maps API?

By default, a Google map embedded using the API (V3) has all kinds of points of interest scattered around it, like on maps.google.com. This is mainly for parks, enterprises, schools, etc. As a marker, you can click them to open the info window, but unlike the marker, I don’t have a link to them, because I did not create them myself. In this case, is there a way to listen for click events on these elements?

+6
source share
1 answer

Having studied this again and looking at the entire Maps API Reference , it seems that this is really not supported, at least in the current version of the API (3.8)

0
source

Source: https://habr.com/ru/post/909597/


All Articles