1

Using version 3.20 and the 'signed_in' value it seems that clicking a POI (point of interest) triggers a click event (which was not the case in older version).

I was hoping there would be a way to find the place_id of the clicked POI or even just the name (perhaps by finding the open info window and pulling out the title content). Does anyone know of a way to do this, I can't see anything in the docs and using the nearby search isn't reliable enough unfortunatly.

Ben_hawk
  • 2,476
  • 7
  • 34
  • 59
  • You are right in that it triggers a click event on the map object. But there is still no *POI* overlay class on which you can listen to a click event. – MrUpsidown Apr 13 '15 at 11:32
  • yeah that seems to be the case, any ideas of a work around, I have feeling there might a way to detect the info window to read its title content which I can then use in conjunction with the nearby search to get the exact place_id – Ben_hawk Apr 13 '15 at 11:37
  • Sorry no idea. For sure there is no documented method to do that. – MrUpsidown Apr 13 '15 at 11:42
  • 1
    maybe http://stackoverflow.com/questions/24234106/how-to-get-a-click-event-when-a-user-clicks-a-business-place-on-the-map ?? – Jordi Castilla Apr 13 '15 at 11:44
  • It seems that works if you don't use the signed_in param – Ben_hawk Apr 13 '15 at 16:35
  • I have same problem, finally what did you do? – Hossein Bajan Jul 08 '18 at 05:07

0 Answers0