Added necessary OSM attribution

This commit is contained in:
Stijn Seghers 2015-08-29 16:24:47 +02:00
parent 6ac2ecaa66
commit 655333b9a5

View file

@ -29,7 +29,7 @@ $(document).ready(function() {
var map = L.map('map').setView([51.0475378, 3.7261835], 13); var map = L.map('map').setView([51.0475378, 3.7261835], 13);
var osm = L.tileLayer('https://{s}.tiles.mapbox.com/v3/feliciaan.keoaj8d5/{z}/{x}/{y}.png', { var osm = L.tileLayer('https://{s}.tiles.mapbox.com/v3/feliciaan.keoaj8d5/{z}/{x}/{y}.png', {
attribution: '<a href="http://www.mapbox.com/about/maps/" target="_blank">Mapbox</a> | Made with ❤ by <a href="http://zeus.ugent.be">Zeus WPI</a>' attribution: '© <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap contributors</a> | Made with ❤ by <a href="http://zeus.ugent.be">Zeus WPI</a>'
}).addTo(map); }).addTo(map);
$.getJSON('data.json') $.getJSON('data.json')