change tiles attribution

This commit is contained in:
Thomas NOËL 2013-09-17 12:12:31 +02:00
parent d8ecc53782
commit 8471c5b6cf
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ L.tileLayer('https://stamen-tiles.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png',
L.control.scale( { 'imperial': false, 'updateWhenIdle': true } ).addTo(map);
map.attributionControl.setPrefix('');
map.attributionControl.addAttribution('Données &copy; les contributeurs d<a href="http://openstreetmap.org">OpenStreetMap</a> <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a> — Imagerie © <a href="http://cloudmade.com/">CloudMade</a> + <a href="http://leafletjs.com/">Leaflet</a>');
// map.attributionControl.addAttribution('Données &copy; les contributeurs d<a href="http://openstreetmap.org">OpenStreetMap</a> <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a> — Imagerie © <a href="http://cloudmade.com/">CloudMade</a> + <a href="http://leafletjs.com/">Leaflet</a>');
map.attributionControl.addAttribution('Données &copy; les contributeurs d<a href="http://openstreetmap.org">OpenStreetMap</a> <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a> — Imagerie <a href="http://stamen.com">Stamen Design</a> <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> via <a href="http://leafletjs.com/">Leaflet</a>');
function redirectTo(e) {
map.closePopup();