changeset 993:19b5a6ae3bca

Use https for google maps (bandmap & membermap).
author Brian Neal <bgneal@gmail.com>
date Sun, 01 Nov 2015 16:43:53 -0600
parents 6816c5189525
children 504ec8af166d
files bandmap/static/js/bandmap.js sg101/templates/membermap/index.html
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bandmap/static/js/bandmap.js	Sun Nov 01 15:59:12 2015 -0600
+++ b/bandmap/static/js/bandmap.js	Sun Nov 01 16:43:53 2015 -0600
@@ -53,8 +53,8 @@
                var marker = new google.maps.Marker({
                   position: {lat: band.lat, lng: band.lon},
                   title: band.name,
-                  icon: band.is_active ? "http://maps.google.com/mapfiles/ms/icons/green-dot.png"
-                                       : "http://maps.google.com/mapfiles/ms/icons/red-dot.png",
+                  icon: band.is_active ? "https://maps.google.com/mapfiles/ms/icons/green-dot.png"
+                                       : "https://maps.google.com/mapfiles/ms/icons/red-dot.png",
                   map: bandmap
                });
                google.maps.event.addListener(marker, 'click', function() {
--- a/sg101/templates/membermap/index.html	Sun Nov 01 15:59:12 2015 -0600
+++ b/sg101/templates/membermap/index.html	Sun Nov 01 16:43:53 2015 -0600
@@ -3,7 +3,7 @@
 {% block title %}Member Map{% endblock %}
 {% block custom_js %}
 <script type="text/javascript" src="{{ STATIC_URL }}js/membermap.js"></script>
-<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAql_1Xw9MGW3mOxzo8gLb3hSrh5-ALlu4lmYDsscYaAokjyRNqBRaVcqVr3jaDgMRVSK_3HydK9tYWw" type="text/javascript"></script>
+<script src="https://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAql_1Xw9MGW3mOxzo8gLb3hSrh5-ALlu4lmYDsscYaAokjyRNqBRaVcqVr3jaDgMRVSK_3HydK9tYWw" type="text/javascript"></script>
 {{ form.media }}
 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/membermap.css" />
 <script type="text/javascript">