You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
I have a map which is set to show the street view with an event listener set for "click". The event fires perfectly when in map view but does not work in street view. Does anyone know how I can can capture this "click" event in street view.
Any help is greatly appreciated.
Esa
unread,
Jun 29, 2011, 7:44:36 AM6/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
Confirmed. I haven't discovered any 'click' event for StreetView
either.
You can construct a 'click' listener on the div element by
addDomListener(). However that will also be triggered when the control
elements are clicked. If you want to separate clicks on map and on
StreetView, you can use getVisible() method.
Kevin worthington
unread,
Jun 29, 2011, 10:14:58 AM6/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
Thanks for the feedback Esa. I will venture beyond the API and add my own listener to the div as mentioned. Have a great day.