[client] Added link to the sources

This commit is contained in:
Maxime FRIESS 2024-11-12 11:57:52 +01:00
parent 403cd18b07
commit ccfdaddd43
No known key found for this signature in database
GPG key ID: 57637B84B3D8EC57
2 changed files with 6 additions and 2 deletions

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Test</title> <title>CTS Map</title>
<link <link
rel="stylesheet" rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
@ -22,6 +22,10 @@
height: 100vh; height: 100vh;
background-color: #090909; background-color: #090909;
} }
.leaflet-control-attribution {
text-align: right;
}
</style> </style>
</head> </head>
<body> <body>

View file

@ -47,7 +47,7 @@ const loading_done = () => {
// https://tile.openstreetmap.org/{z}/{x}/{y}.png // https://tile.openstreetmap.org/{z}/{x}/{y}.png
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19, maxZoom: 19,
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors<br/>Données issues de l\'<a href="https://www.cts-strasbourg.eu/fr/portail-open-data/">OpenData de la CTS</a><br/>Logiciel distribué sous <a href="https://www.gnu.org/licenses/gpl-3.0.html">Licence GPL</a>' attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors<br/>Données issues de l\'<a href="https://www.cts-strasbourg.eu/fr/portail-open-data/">OpenData de la CTS</a><br/>Logiciel distribué sous <a href="https://www.gnu.org/licenses/gpl-3.0.html">Licence GPL</a><br/><a href="https://git.aius.u-strasbg.fr/maxime.friess/cts-map">Code Source</a>'
}).addTo(map); }).addTo(map);
const lignes = {}; const lignes = {};