change tiles attribution
This commit is contained in:
parent
d8ecc53782
commit
8471c5b6cf
|
@ -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 © 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 © 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 © 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();
|
||||
|
|
Reference in New Issue