diff --git a/app/views/conference/_venue_map.html.haml b/app/views/conference/_venue_map.html.haml index 491ae4ae..b58b3053 100644 --- a/app/views/conference/_venue_map.html.haml +++ b/app/views/conference/_venue_map.html.haml @@ -5,7 +5,7 @@ // create a map in the "map" div, set the view to a given place and zoom var map = L.map('map', { scrollWheelZoom: false }).setView([#{@conference.venue.latitude}, #{@conference.venue.longitude}], 11); // add an OpenStreetMap tile layer - L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { + L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', maxZoom: 18 }).addTo(map);