How to add hover effects to Google built-in POIs? #653
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Unfortunately, that is something that can't currently be done with the Maps JavaScript API. Only the A feature request like this would have to be implemented in the Maps API itself: https://issuetracker.google.com/issues?q=status:open%20componentid:188853&s=created_time:desc |
Beta Was this translation helpful? Give feedback.
-
Also looking for this functionality. Pretty shocked it doesn't exist. |
Beta Was this translation helpful? Give feedback.
Unfortunately, that is something that can't currently be done with the Maps JavaScript API. Only the
click
event uses theIconMouseEvent
that contains the placeId when a place-icon is clicked. Besides that, I don't think there is any way to even know if there are place-icons on the map.A feature request like this would have to be implemented in the Maps API itself: https://issuetracker.google.com/issues?q=status:open%20componentid:188853&s=created_time:desc