简体   繁体   English

Google Maps API-启用街景视图时触发事件

[英]Google Maps API - Fire event when Street View enable

How can i check when user open street view in Google Maps? 如何检查用户何时在Google地图中打开街景?

ie i have standard map, user take this little boy in right corner and open street view, then i want to know he did it and do sth. 即我有标准地图,用户将这个小男孩带到右上角并打开街景,然后我想知道他做了这件事并做了某事。

ps. PS。 Some text... 一些文字...

Could you set an event listener on visible_changed. 您能否在visible_changed上设置事件侦听器。 See: https://developers.google.com/maps/documentation/javascript/streetview for the events and this answer: Detecting Google Maps streetview mode 请参阅: https//developers.google.com/maps/documentation/javascript/streetview以了解事件和此答案: 检测Google Maps街景模式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM