When running the Google Maps display module on a site with SSL, I get warnings saying "the page displayed insecure content". This varies in severity from minor warnings (Safari) all the way up to breaking the elements (Chrome).

Since Google has released SSL support for all their API access URLs I propose that either the SSL side is used by default or an option is presented in the settings to use SSL to connect to the Google API.

CommentFileSizeAuthor
#1 googlemaps_ssl-1662940-1.patch2.41 KBIgnigena

Comments

Ignigena’s picture

Status: Active » Needs review
StatusFileSize
new2.41 KB

I have attached a patch that connects to Google's Map API's through SSL. This will work on both secure and non-secure installation but may or may not be the best solve. I believe the biggest side effect of using this on a non-secure site is slightly longer load times versus connecting through HTTP. But for anyone who has an HTTPS Drupal installation this should enable use of the module without warnings popping up.

(This is my first time submitting a patch so be kind if I'm not doing something correctly)

christianadamski’s picture

Component: Google Maps geolocation » Geolocation Field / Backend
Issue summary: View changes
Status: Needs review » Closed (won't fix)

Closing all 7.x issues. It's time.