google-maps - 在我的网站(https 安全)中使用谷歌地图显示错误

标签 google-maps https

我的网站使用 https 安全页面,但是当我使用 Google map API 在我的网站中引入 map 时,它显示错误(例如网页包含不安全的项目)。但是如果我删除此 Gmap api,错误就会消失。

有什么方法可以让我在 https 安全页面中使用 google map 而不会出现任何这样的错误。

最佳答案

是的,

As such we are happy to offer free access to the Maps API v3, Static Maps API, and Maps API Web Services over HTTPS to all developers from today. To load the Maps API v3 over HTTPS, the API must be loaded from the hostname maps-api-ssl.google.com. For the Static Maps API and Web Services, please use maps.googleapis.com.

查看 Google 的官方公告:

http://googlegeodevelopers.blogspot.com/2011/03/maps-apis-over-ssl-now-available-to-all.html

关于google-maps - 在我的网站(https 安全)中使用谷歌地图显示错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5777486/

相关文章:

ios - 使用 Google iOS SDK 创建多个标记

iphone - 从代码打开 map 应用程序 - 在哪里/如何找到 "Current Location"?

google-maps - 移动Safari崩溃(内存不足)

https - HSTS 与仅使用安全 cookie 的 https

java - 如何在 Win10/Tomcat7/Java7 上从 Web 应用程序启用 TLSv1.1+ 出站通信?

google-maps - 嵌入谷歌地图时是否可以使用谷歌地球 3D View ?

ruby-on-rails - Gmaps4Rails 中的标记样式

asp.net-mvc - 在 ASP.NET MVC 中使用 SSL 操作过滤器重定向循环

ios - 在 iOS XMPPFramework 中支持 HTTPS

android - 在我的服务器和我的客户端之间启用 HTTPS 通信