开发者

Google Maps API v3 over HTTPS?

Is there a https version of the google maps api v3? I have a site that uses https and am getting annoying mixed secure 开发者_如何学运维and non-secure content errors in IE. I read that in v2 you had to pay to get this, but haven't seen anything for v3.


Yesterday Google announced that sites may use the v3 API for free over https:

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


Try replacing

http://maps.google.com/maps

with

https://maps-api-ssl.google.com/maps


Update

As of March 2011

The Maps API v3, Static Maps API, and Maps API Web Services are now available to all developers over https:


This is one of my big problems with Google Maps. If you want to access Google Maps javascript via https you have to sign up as a Google Maps Premier customer.

There is a Google Maps API issue on the topic with lots of mutinous comments, but the final word from Google is that they will not be supporting this functionality in the free API.

This particular problem is close to my heart as I have spent the last few days porting one of our projects over to Bing Maps (it does support https).


Google does allows https access for Maps API v3, Static Maps API, and Maps API Web Services.

But with one condition:

If your site uses SSL because you charge for access to your application, or because your application is not publicly accessible to all users, you must still purchase a Maps API Premier license.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜