map: simplify attribution text
This commit is contained in:
parent
211d298915
commit
cd854b89d2
|
@ -28,8 +28,8 @@ var map = L.map('map', {
|
|||
L.tileLayer('/map/' + mapstyle + '/{z}/{x}/{y}.png', {}).addTo(map);
|
||||
L.control.scale( { 'imperial': false, 'updateWhenIdle': true } ).addTo(map);
|
||||
|
||||
map.attributionControl.setPrefix('Moteur <a href="licences#leaflet">Leaflet</a>');
|
||||
map.attributionControl.addAttribution('Données © <a href="licences#osm">OpenStreetMap</a>, <a href="licences#cc-by-sa">CC-BY-SA</a> — Imagerie © <a href="licences#cloudmade">CloudMade</a>');
|
||||
map.attributionControl.setPrefix('');
|
||||
map.attributionControl.addAttribution('Données © les contributeurs d’<a href="licences#osm">OpenStreetMap</a> — Imagerie <a href="licences#cloudmade">CloudMade</a> + <a href="licences#leaflet">Leaflet</a>');
|
||||
|
||||
function redirectTo(e) {
|
||||
map.closePopup();
|
||||
|
|
Reference in New Issue