谷歌地图通过https [英] Google maps over https

查看:121
本文介绍了谷歌地图通过https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用免费地图API密钥,通过 https 使用Google地图。 Google地图API常见问题解答

We are using Google Maps over https using a free maps API key. The Google Maps API FAQ says:


Google地图API API和Google Static Maps API可以通过Google Maps API Premier
客户通过安全(https)连接访问
。如果Google Maps API与安全站点上的免费Maps API密钥
一起使用,则浏览器可能会警告用户屏幕上存在不安全的
对象。

The Google Maps JavaScript API and Google Static Maps API can be accessed over a secure (https) connection by Google Maps API Premier customers. If the Google Maps APIs are used with a free Maps API key on a secure site, the browser may warn the user about non-secure objects on the screen.

我对上述内容的理解是,API无论如何都会起作用,但用户可能会收到安全警告。然而,对我们来说,地图根本不会显示,导致页面完全无法使用。

My understanding of the above is that the API will work anyway, but users might get a security warning. For us, however, the map will not display at all, rendering the page completely unusable.

有人知道Google是否通过https免费使用地图API maps API keys?

Does anybody know if Google is blocking use of the maps API over https with free maps API keys?

推荐答案

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

这篇关于谷歌地图通过https的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆