本地测试中的Google街景视图错误

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了本地测试中的Google街景视图错误相关的知识,希望对你有一定的参考价值。

我尝试测试“自定义街景全景图”并收到此错误。下面是在apache本地服务器上捕获的图像

enter image description here

答案

溶胶:):

改变这个:<script async defer src="https://maps.googleapis.com/maps/api/js key=YOUR_API_KEY&callback=initPano"></script>

为了这:

<script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initPano" type="text/javascript"></script>

以上是关于本地测试中的Google街景视图错误的主要内容,如果未能解决你的问题,请参考以下文章

片段中的 Xamarin Android Google 地图错误

使用WebGL加载Google街景图

viewpager 中的片段,未找到视图错误

html 街景和常规视图iframe谷歌地图代码

RecyclerView holder中的Android Google Maps动态片段

Google街景下载