简体   繁体   English

phonegap-googlemaps-plugin显示黑屏

[英]phonegap-googlemaps-plugin shows blank screen

I am trying to setup googlemap into a demo app by following along with this tutorial ( https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/Tutorial-for-Windows ). 我正在尝试通过遵循本教程( https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/Tutorial-for-Windows )将googlemap设置为演示应用程序。

Now the app does run, but it show an empty map that look like this: 现在,该应用程序确实可以运行,但是显示的是一个空白地图,如下所示:

在此处输入图片说明

I have tried to troubleshoot it via this guide ( https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/TroubleShooting:-Blank-Map ). 我已尝试通过本指南( https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/TroubleShooting:-Blank-Map )对它进行故障排除。

Everything I have done seems correct. 我所做的一切似乎都是正确的。 No error or anything to trace what has been done wrong. 没有错误或任何东西可以追踪做错了什么。 I am testing it on real device. 我正在真实设备上对其进行测试。 How can I fix it? 我该如何解决?

I think it would be because of incorrect API key. 我认为这是因为API密钥不正确。 Same thing is happening with me but by changing the API key, it resolved the problem. 我也发生了同样的事情,但是通过更改API密钥,它解决了问题。

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

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