Translate attribution, add lang on English text

This commit is contained in:
Midgard 2020-05-20 17:31:13 +02:00
parent daf979ee0e
commit 9f0e5f7598
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -42,8 +42,8 @@ $(document).ready(function() {
var map = L.map('map').setView([50.702, 4.335], 9);
var osm = L.tileLayer('https://{s}.tiles.mapbox.com/v3/feliciaan.keoaj8d5/{z}/{x}/{y}{r}.png', {
attribution: '© <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> | © <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>-contributors | Made with ❤ by <a href="https://zeus.ugent.be">Zeus WPI</a>',
detectRetina: true
attribution: 'Achtergrondkaart © <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>-bijdragers (data) en © <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> (stijl) | <span lang="en">Made with ❤ by <a href="https://zeus.ugent.be">Zeus WPI</a></span>',
detectRetina: true
}).addTo(map);
$.getJSON('https://blokdata.zeus.gent/data.json')