Commit 3ed8d0e9c3a10bca091997e6da1c428346babb2c
Committed by
GitHub
1 parent
fa2cf1ae
Delete ssl.patch
Showing
1 changed file
with
0 additions
and
77 deletions
ssl.patch
deleted
100644 → 0
1 | -diff --git a/ui/src/app/widget/lib/google-map.js b/ui/src/app/widget/lib/google-map.js | |
2 | -index c3d294e..4b0ea2f 100644 | |
3 | ---- a/ui/src/app/widget/lib/google-map.js | |
4 | -+++ b/ui/src/app/widget/lib/google-map.js | |
5 | -@@ -152,7 +152,7 @@ export default class TbGoogleMap { | |
6 | - /* eslint-disable no-undef */ | |
7 | - updateMarkerColor(marker, color) { | |
8 | - var pinColor = color.substr(1); | |
9 | -- var pinImage = new google.maps.MarkerImage("http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|" + pinColor, | |
10 | -+ var pinImage = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|" + pinColor, | |
11 | - new google.maps.Size(21, 34), | |
12 | - new google.maps.Point(0,0), | |
13 | - new google.maps.Point(10, 34)); | |
14 | -@@ -191,11 +191,11 @@ export default class TbGoogleMap { | |
15 | - createMarker(location, settings, onClickListener, markerArgs) { | |
16 | - var height = 34; | |
17 | - var pinColor = settings.color.substr(1); | |
18 | -- var pinImage = new google.maps.MarkerImage("http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|" + pinColor, | |
19 | -+ var pinImage = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|" + pinColor, | |
20 | - new google.maps.Size(21, 34), | |
21 | - new google.maps.Point(0,0), | |
22 | - new google.maps.Point(10, 34)); | |
23 | -- var pinShadow = new google.maps.MarkerImage("http://chart.apis.google.com/chart?chst=d_map_pin_shadow", | |
24 | -+ var pinShadow = new google.maps.MarkerImage("https://chart.apis.google.com/chart?chst=d_map_pin_shadow", | |
25 | - new google.maps.Size(40, 37), | |
26 | - new google.maps.Point(0, 0), | |
27 | - new google.maps.Point(12, 35)); | |
28 | -@@ -350,4 +350,4 @@ export default class TbGoogleMap { | |
29 | - return this.tooltips; | |
30 | - } | |
31 | - | |
32 | --} | |
33 | -\ No newline at end of file | |
34 | -+} | |
35 | -diff --git a/ui/src/app/widget/lib/openstreet-map.js b/ui/src/app/widget/lib/openstreet-map.js | |
36 | -index e6f10de..3a911ce 100644 | |
37 | ---- a/ui/src/app/widget/lib/openstreet-map.js | |
38 | -+++ b/ui/src/app/widget/lib/openstreet-map.js | |
39 | -@@ -28,8 +28,8 @@ export default class TbOpenStreetMap { | |
40 | - | |
41 | - this.map = L.map($containerElement[0]).setView([0, 0], this.defaultZoomLevel || 8); | |
42 | - | |
43 | -- L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { | |
44 | -- attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' | |
45 | -+ L.tileLayer('https://{s}.tile.osm.org/{z}/{x}/{y}.png', { | |
46 | -+ attribution: '© <a href="https://osm.org/copyright">OpenStreetMap</a> contributors' | |
47 | - }).addTo(this.map); | |
48 | - | |
49 | - if (initCallback) { | |
50 | -@@ -51,11 +51,11 @@ export default class TbOpenStreetMap { | |
51 | - updateMarkerColor(marker, color) { | |
52 | - var pinColor = color.substr(1); | |
53 | - var icon = L.icon({ | |
54 | -- iconUrl: 'http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|' + pinColor, | |
55 | -+ iconUrl: 'https://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|' + pinColor, | |
56 | - iconSize: [21, 34], | |
57 | - iconAnchor: [10, 34], | |
58 | - popupAnchor: [0, -34], | |
59 | -- shadowUrl: 'http://chart.apis.google.com/chart?chst=d_map_pin_shadow', | |
60 | -+ shadowUrl: 'https://chart.apis.google.com/chart?chst=d_map_pin_shadow', | |
61 | - shadowSize: [40, 37], | |
62 | - shadowAnchor: [12, 35] | |
63 | - }); | |
64 | -@@ -96,11 +96,11 @@ export default class TbOpenStreetMap { | |
65 | - var height = 34; | |
66 | - var pinColor = settings.color.substr(1); | |
67 | - var icon = L.icon({ | |
68 | -- iconUrl: 'http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|' + pinColor, | |
69 | -+ iconUrl: 'https://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|' + pinColor, | |
70 | - iconSize: [21, 34], | |
71 | - iconAnchor: [10, 34], | |
72 | - popupAnchor: [0, -34], | |
73 | -- shadowUrl: 'http://chart.apis.google.com/chart?chst=d_map_pin_shadow', | |
74 | -+ shadowUrl: 'https://chart.apis.google.com/chart?chst=d_map_pin_shadow', | |
75 | - shadowSize: [40, 37], | |
76 | - shadowAnchor: [12, 35] | |
77 | - }); |