Javascript iPad上未加载谷歌地图API

Javascript iPad上未加载谷歌地图API,javascript,html,ios,google-maps,ipad,Javascript,Html,Ios,Google Maps,Ipad,我有一个网页,使用谷歌地图API加载自定义地图。该地图在所有主要浏览器的Windows和Mac上都能工作,但在iPad上却不能工作。我在Safari Mobile和Chrome Mobile上进行了测试,同样的问题也在发生。没有显示任何内容,控制台中出现以下错误: [Error] Failed to load resource: The certificate for this server is invalid. You might be connecting to a server tha

我有一个网页,使用谷歌地图API加载自定义地图。该地图在所有主要浏览器的Windows和Mac上都能工作,但在iPad上却不能工作。我在Safari Mobile和Chrome Mobile上进行了测试,同样的问题也在发生。没有显示任何内容,控制台中出现以下错误:

[Error] Failed to load resource: The certificate for this server is invalid. 
You might be connecting to a server that is pretending to be “maps.gstatic.com” 
which could put your confidential information at risk. (main.js, line 0)

任何关于这意味着什么的帮助都将不胜感激。谢谢。

我发现问题在于我们使用的是HTTP协议。在向API发出请求时使用HTTPS协议解决了iPad上的问题。

我也遇到了同样的问题。但我的情况与@dcod正好相反,在@dcod中,我的应用程序的开发版本是http://因此我需要使用http://of maps.google.com

我将在制作中更新应用程序将使用https的行为://