From 6aeec4926659d1a4b5ee014b27a2fd91c83b0f75 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Tue, 20 Aug 2013 13:39:52 +0200 Subject: [PATCH] [#369] Do not hard-code http --- src/view.map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view.map.js b/src/view.map.js index b34066a1..bb22d033 100644 --- a/src/view.map.js +++ b/src/view.map.js @@ -397,7 +397,7 @@ my.Map = Backbone.View.extend({ var self = this; this.map = new L.Map(this.$map.get(0)); - var mapUrl = "http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png"; + var mapUrl = "//otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png"; var osmAttribution = 'Map data © 2011 OpenStreetMap contributors, Tiles Courtesy of MapQuest '; var bg = new L.TileLayer(mapUrl, {maxZoom: 18, attribution: osmAttribution ,subdomains: '1234'}); this.map.addLayer(bg);