Correct the attribution with the right link, icon and icon title

This commit is contained in:
sambakk
2020-04-12 15:46:14 +01:00
parent 2451a75238
commit c9b765c243
+3 -3
View File
@@ -42,9 +42,9 @@ const ign_source = new WMTS({
tileGrid: tileGrid, tileGrid: tileGrid,
style: 'normal', style: 'normal',
attributions: attributions:
'<a href="http://www.geoportail.fr/" target="_blank">' + '<a href="http://www.ign.fr" target="_blank">' +
'<img src="https://api.ign.fr/geoportail/api/js/latest/' + '<img src="https://wxs.ign.fr/static/logos/IGN/IGN.gif" title="Institut national de l\'' +
'theme/geoportal/img/logo_gp.gif"></a>', 'information géographique et forestière" alt="IGN"></a>',
}); });
const ign = new TileLayer({ const ign = new TileLayer({