gpt4 book ai didi

events - Google Street View API V3 - 瓦片加载事件?

转载 作者:行者123 更新时间:2023-12-03 21:57:56 25 4
gpt4 key购买 nike

当街景完成加载构成全景的所有图 block 时,是否会触发事件?目前,如果您手动更改位置 (StreetViewPanorama.setPosition),过渡会很粗糙,并且无法判断新文件何时已全部加载。因此,除非给定任意超时时间(例如 2 或 3 秒),否则无法显示正在加载的 GIF。

有任何想法吗?

最佳答案

您可以在此处查看全景图的所有可用事件:http://code.google.com/apis/maps/documentation/javascript/reference.html#StreetViewPanorama

您是否尝试过使用 position_changed 事件?

关于events - Google Street View API V3 - 瓦片加载事件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4150891/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com