map: simplify attribution text

This commit is contained in:
Thomas NOËL 2013-05-02 18:00:22 +02:00
parent 211d298915
commit cd854b89d2
1 changed files with 2 additions and 2 deletions

View File

@ -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 &copy; <a href="licences#osm">OpenStreetMap</a>, <a href="licences#cc-by-sa">CC-BY-SA</a> — Imagerie &copy; <a href="licences#cloudmade">CloudMade</a>');
map.attributionControl.setPrefix('');
map.attributionControl.addAttribution('Données &copy; 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();