Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Map Extension > Google Maps Premier Key: changed URL in JS-code
Total Posts: 6 - Pages (1): [1]
Author: Bert Hiddink
Posted: Feb 16 2009 - 05:32 AM
Subject: Google Maps Premier Key: changed URL in JS-code
Hello Christoph,

In order to make sure that we donīt get the mixed content message from IE when opening a page with Google Maps Api via HTTPS, my client got a Google Maps Premier Key.

For requests via https, I should use use the following JS:
"<script src="https://maps-api-ssl.google.com/maps?file=api&v=2&client=client-key&sensor=false" type="text/javascript"></script>"

However, I can not change the URL for the API-script by Typoscript, AFAICS, this is not configurable. Could this be done, being a feature request, or is this so specific, I should change it myself...?

Thanks for your comments in advance!
-brt


user picture Author: Christoph Koehler
Posted: Feb 16 2009 - 09:46 AM
Subject: re: Google Maps Premier Key: changed URL in JS-code
Bert,

Already replied to the email. Will look into it.

Christoph
user picture Author: Christoph Koehler
Posted: Feb 20 2009 - 04:40 PM
Subject: re: Google Maps Premier Key: changed URL in JS-code
Bert,

Try the snapshot [1]. You can set the URL in the extension config. sprintf formatting. Let me know how it works!

Christoph


[1] http://svn.webempoweredchurch.org/snapshots/show/wec_map
Author: Bert Hiddink
Posted: Feb 21 2009 - 06:07 AM
Subject: re: Google Maps Premier Key: changed URL in JS-code
Hi Christoph!

Thanks a lot!!! I'll try and report you back!

Regards,

Bert
Author: Bert Hiddink
Posted: Feb 25 2009 - 01:15 PM
Subject: re: Google Maps Premier Key: changed URL in JS-code
Hello Christoph,

I tested this snapshot for requests via https from Google and it works just fine!!!

Thanks a lot!!!

Regards,
-brt
user picture Author: Christoph Koehler
Posted: Feb 25 2009 - 10:55 PM
Subject: re: Google Maps Premier Key: changed URL in JS-code
Sure thing, it was pretty simple to add!

Christoph
Total Posts: 6 - Pages (1): [1]
You must login to post a message to this conference.