[client] Added link to the sources
This commit is contained in:
parent
403cd18b07
commit
ccfdaddd43
2 changed files with 6 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Test</title>
|
||||
<title>CTS Map</title>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
|
||||
|
@ -22,6 +22,10 @@
|
|||
height: 100vh;
|
||||
background-color: #090909;
|
||||
}
|
||||
|
||||
.leaflet-control-attribution {
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -47,7 +47,7 @@ const loading_done = () => {
|
|||
// https://tile.openstreetmap.org/{z}/{x}/{y}.png
|
||||
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
maxZoom: 19,
|
||||
attribution: '© <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: '© <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);
|
||||
|
||||
const lignes = {};
|
||||
|
|
Loading…
Add table
Reference in a new issue