From 3f4a30e054652d06b92cfe372ce66c8b5c79d4ca Mon Sep 17 00:00:00 2001 From: aliounedia Date: Wed, 15 Oct 2014 20:06:28 +0200 Subject: [PATCH] (http) not figured on recline.view.map , so this cause probleme on FireFox plugin , FireFox will automatically add source:// when it does not find http, so this should be Fixed , see https://github.com/okfn/mozilla-csv-viewer --- src/view.map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view.map.js b/src/view.map.js index 5fb0ff4e..bf864c46 100644 --- a/src/view.map.js +++ b/src/view.map.js @@ -461,8 +461,8 @@ my.Map = Backbone.View.extend({ var self = this; this.map = new L.Map(this.$map.get(0)); - var mapUrl = "//otile{s}-s.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png"; - var osmAttribution = 'Map data © 2011 OpenStreetMap contributors, Tiles Courtesy of MapQuest '; + var mapUrl = "http://otile{s}-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);