(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

This commit is contained in:
aliounedia 2014-10-15 20:06:28 +02:00
parent cf3904d6f0
commit 3f4a30e054

View File

@ -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 &copy; 2011 OpenStreetMap contributors, Tiles Courtesy of <a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="//developer.mapquest.com/content/osm/mq_logo.png">';
var mapUrl = "http://otile{s}-s.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png";
var osmAttribution = 'Map data &copy; 2011 OpenStreetMap contributors, Tiles Courtesy of <a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="http://developer.mapquest.com/content/osm/mq_logo.png">';
var bg = new L.TileLayer(mapUrl, {maxZoom: 18, attribution: osmAttribution ,subdomains: '1234'});
this.map.addLayer(bg);