From 047b306f7b94f9faef31fa9da61f5e99e6c3e7ae Mon Sep 17 00:00:00 2001 From: marc tobias Date: Sat, 30 Nov 2019 11:18:18 +0100 Subject: [PATCH] use https URLs --- src/assets/js/detailpage.js | 4 ++-- src/assets/js/searchpage.js | 4 ++-- src/layout.html | 10 +++++----- src/templates/searchpage.hbs | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/assets/js/detailpage.js b/src/assets/js/detailpage.js index 301b725..49ec981 100644 --- a/src/assets/js/detailpage.js +++ b/src/assets/js/detailpage.js @@ -15,7 +15,7 @@ function init_map_on_detail_page(lat, lon, geojson) { L.tileLayer(get_config_value('Map_Tile_URL'), { // moved to footer - attribution: (get_config_value('Map_Tile_Attribution') || null ) //'© OpenStreetMap contributors' + attribution: (get_config_value('Map_Tile_Attribution') || null ) //'© OpenStreetMap contributors' }).addTo(map); var layerGroup = new L.layerGroup().addTo(map); @@ -25,7 +25,7 @@ function init_map_on_detail_page(lat, lon, geojson) { if (geojson) { var geojson_layer = L.geoJson( - // http://leafletjs.com/reference-1.0.3.html#path-option + // https://leafletjs.com/reference-1.0.3.html#path-option parse_and_normalize_geojson_string(geojson), { style: function(feature) { diff --git a/src/assets/js/searchpage.js b/src/assets/js/searchpage.js index 8df5fe0..a539422 100755 --- a/src/assets/js/searchpage.js +++ b/src/assets/js/searchpage.js @@ -48,7 +48,7 @@ function init_map_on_search_page(is_reverse_search, nominatim_results, request_l L.tileLayer(get_config_value('Map_Tile_URL'), { noWrap: true, // otherwise we end up with click coordinates like latitude -728 // moved to footer - attribution: (get_config_value('Map_Tile_Attribution') || null ) //'© OpenStreetMap contributors' + attribution: (get_config_value('Map_Tile_Attribution') || null ) //'© OpenStreetMap contributors' }).addTo(map); // console.log(Nominatim_Config); @@ -163,7 +163,7 @@ function init_map_on_search_page(is_reverse_search, nominatim_results, request_l var geojson_layer = L.geoJson( parse_and_normalize_geojson_string(result.geojson), { - // http://leafletjs.com/reference-1.0.3.html#path-option + // https://leafletjs.com/reference-1.0.3.html#path-option style: function(feature) { return { interactive: false, color: 'blue' }; } diff --git a/src/layout.html b/src/layout.html index 9e23e74..f0fcdd5 100644 --- a/src/layout.html +++ b/src/layout.html @@ -43,8 +43,8 @@ About & Help @@ -62,9 +62,9 @@