javascript - How to get the info about the clicked point of interest? -
how data of location (i.e. lat , lng) clicked? (see image below)
i have tried this:
google.maps.event.addlistener(marker, 'click', function() { ... };
but event not fired when pressing on restaurant icon (i used the sand example).
turns out not-yet-supported feature.
these places called points of interest (a.k.a. poi) , custom event cannot assigned yet.
Comments
Post a Comment