Skip to content

Commit

Permalink
OSM: tile server attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 authored and erictheise committed Jan 1, 2024
1 parent c725e37 commit 2ab849a
Show file tree
Hide file tree
Showing 35 changed files with 40 additions and 41 deletions.
3 changes: 1 addition & 2 deletions js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ $(document).ready(() => {
// init leaflet
ide.map = new L.Map("map");
const tilesUrl = settings.tileServer;
const tilesAttrib =
'&copy; <a href="https://www.openhistoricalmap.org/copyright">OpenStreetMap</a> contributors&ensp;<small>Data:ODbL, Map:cc-by-sa</small>';
const tilesAttrib = configs.vectorTileAttribution;
const tiles = new L.TileLayer(tilesUrl, {attribution: tilesAttrib});
ide.map.setView([0, 0], 1).addLayer(tiles);
const scaleControl = new L.Control.Scale({metric: true, imperial: false});
Expand Down
2 changes: 1 addition & 1 deletion locales/ast-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"help.attr.data_sources": "Data Sources",
"help.attr.data": "Data &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Terms</a>)</span>",
"help.attr.mining": "Data mining by",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors",
"help.attr.search": "Search provided by",
"help.attr.software": "Software & Libraries",
"help.attr.leaflet": "Map powered by",
Expand Down
2 changes: 1 addition & 1 deletion locales/ast_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Data Sources",
"help.attr.data": "Data &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Terms</a>)</span>",
"help.attr.mining": "Data mining by",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors",
"help.attr.search": "Search provided by",
"help.attr.software": "Software & Libraries",
"help.attr.leaflet": "Map powered by",
Expand Down
2 changes: 1 addition & 1 deletion locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Origen de les dades",
"help.attr.data": "Dades &copy; col·laboradors de l'<a href=\"http://openstreetmap.org/\">OpenStreetMap</a> , <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">termes</a>)</span>",
"help.attr.mining": "Mineria de dades per",
"help.attr.tiles": "Les tessel·les del mapa són copyright dels col·laboradors de l'<a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Les tessel·les del mapa són copyright dels col·laboradors de l'<a href=\"http://openstreetmap.org/\">OpenStreetMap</a>",
"help.attr.search": "Cerca proporcionada per",
"help.attr.software": "Programari i biblioteques",
"help.attr.leaflet": "Mapa amb la tecnologia de",
Expand Down
2 changes: 1 addition & 1 deletion locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Zdroje dat",
"help.attr.data": "Přispěvatelé dat &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>,<span style=\"font-size:smaller;\"> <a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Podmínky</a>)</span>",
"help.attr.mining": "Dolování dat od ",
"help.attr.tiles": "Poskytovatelé mapových dlaždic &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> , <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Poskytovatelé mapových dlaždic &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> ",
"help.attr.search": "Vyhledávání poskytnuto od",
"help.attr.software": "Software & Knihovny",
"help.attr.leaflet": "Mapy běží na",
Expand Down
2 changes: 1 addition & 1 deletion locales/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Geodata kilder",
"help.attr.data": "Geodata &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> bidragsydere, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Betingelser</a>)</span>",
"help.attr.mining": "Geodata mining af",
"help.attr.tiles": "Kort tern &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> bidragsydere, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Kort tern &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> bidragsydere",
"help.attr.search": "Søgning er leveret af",
"help.attr.software": "Software & Biblioteker",
"help.attr.leaflet": "Kort drevet af",
Expand Down
2 changes: 1 addition & 1 deletion locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Datenquellen",
"help.attr.data": "Daten &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>-Mitwirkende, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Bestimmungen</a>)</span>",
"help.attr.mining": "Datenfilterung über",
"help.attr.tiles": "Karten-Kacheln &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>-Mitwirkende, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Karten-Kacheln &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>-Mitwirkende",
"help.attr.search": "Suche über",
"help.attr.software": "Software & Bibliotheken",
"help.attr.leaflet": "Karte unterstützt durch",
Expand Down
2 changes: 1 addition & 1 deletion locales/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Πηγές δεδομένων",
"help.attr.data": "Δεδομένα &copy; συνεισφέροντες του <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Όροι</a>)</span>",
"help.attr.mining": "Εξόρυξη δεδομένων από",
"help.attr.tiles": "Πλακίδια χάρτη &copy; συνεισφέροντες <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Πλακίδια χάρτη &copy; συνεισφέροντες <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>",
"help.attr.search": "Παροχή αναζήτησης από ",
"help.attr.software": "Λογισμικό και βιβλιοθήκες",
"help.attr.leaflet": "Χάρτης με την ισχύ του",
Expand Down
2 changes: 1 addition & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"help.attr.data_sources": "Data Sources",
"help.attr.data": "Data &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Terms</a>)</span>",
"help.attr.mining": "Data mining by",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors",
"help.attr.search": "Search provided by",
"help.attr.software": "Software & Libraries",
"help.attr.leaflet": "Map powered by",
Expand Down
2 changes: 1 addition & 1 deletion locales/eo.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Fonto de datumoj",
"help.attr.data": "Datumoj &copy; kontribuintoj de <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">kondiĉoj</a>)</span>",
"help.attr.mining": "Datum-analizado de",
"help.attr.tiles": "Map-kaheloj &copy; kontribuintoj de <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"https://creativecommons.org/licenses/by-sa/2.0/deed.eo\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Map-kaheloj &copy; kontribuintoj de <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors",
"help.attr.search": "Serĉado liverata de",
"help.attr.software": "Programaro kaj bibliotekoj",
"help.attr.leaflet": "Mapo funkciigata de",
Expand Down
2 changes: 1 addition & 1 deletion locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Fuentes de datos",
"help.attr.data": "Datos &copy; contribuidores <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">términos</a>)</span>",
"help.attr.mining": "Minería de datos por",
"help.attr.tiles": "Mapa de teselas &copy; contribuidores <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Mapa de teselas &copy; contribuidores <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>",
"help.attr.search": "Búsqueda provista por",
"help.attr.software": "Software y bibliotecas",
"help.attr.leaflet": "Mapa provisto por",
Expand Down
2 changes: 1 addition & 1 deletion locales/et.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Andmeallikad",
"help.attr.data": "Andmed &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMapi</a> kaastöölised, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Tingimused</a>)</span>",
"help.attr.mining": "Andmekaeve",
"help.attr.tiles": "Kaardi paanid &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMapi</a> kaastöölised, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Kaardi paanid &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMapi</a> kaastöölised",
"help.attr.search": "Otsingut teostab",
"help.attr.software": "Tarkvara ja teegid",
"help.attr.leaflet": "Kaardimootor",
Expand Down
2 changes: 1 addition & 1 deletion locales/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "منابع داده",
"help.attr.data": "داده‌ها &copy; مشارکت‌کنندگان <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>،‏ <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL (<a href=\"http://www.openstreetmap.org/copyright\">شرایط</a>)</a>",
"help.attr.mining": "داده‌کاوی توسط",
"help.attr.tiles": "کاشی‌های نقشه &copy; مشارکت‌کنندگان <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>،‏ <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>.",
"help.attr.tiles": "کاشی‌های نقشه &copy; مشارکت‌کنندگان <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>،‏",
"help.attr.search": "جست‌وجو ارائه‌شده توسط",
"help.attr.software": "نرم‌افزار و کتابخانه‌ها",
"help.attr.leaflet": "نقشه بر پایهٔ",
Expand Down
2 changes: 1 addition & 1 deletion locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Sources des données",
"help.attr.data": "Données &copy; contributeurs <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Termes</a>)</span>",
"help.attr.mining": "Extraction de données par ",
"help.attr.tiles": "Tuiles &copy; contributeurs <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Tuiles &copy; contributeurs <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>",
"help.attr.search": "Recherche fournie par",
"help.attr.software": "Logiciel et bibliothèques",
"help.attr.leaflet": "Carte propulsée par",
Expand Down
2 changes: 1 addition & 1 deletion locales/gl.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Fontes dos datos",
"help.attr.data": "Datos &copy; contribuíntes do <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Termos</a>)</span>",
"help.attr.mining": "Minaría de datos por",
"help.attr.tiles": "Teselas do mapa &copy; contribuíntes do <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Teselas do mapa &copy; contribuíntes do <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>",
"help.attr.search": "Procura fornecida por",
"help.attr.software": "Software e bibliotecas",
"help.attr.leaflet": "Mapa desenvolvido por",
Expand Down
2 changes: 1 addition & 1 deletion locales/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Izvori podataka",
"help.attr.data": "Data &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Terms</a>)</span>",
"help.attr.mining": "Data mining by",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors",
"help.attr.search": "Search provided by",
"help.attr.software": "Software & Libraries",
"help.attr.leaflet": "Map powered by",
Expand Down
2 changes: 1 addition & 1 deletion locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Adatforrások",
"help.attr.data": "Adatok &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> közreműködők, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Feltételek</a>)</span>",
"help.attr.mining": "Adatbányászat:",
"help.attr.tiles": "Térképcsempék &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> közreműködők, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Térképcsempék &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> közreműködők",
"help.attr.search": "Névkereső szolgáltatás:",
"help.attr.software": "Szoftverek és szoftverkönyvtárak",
"help.attr.leaflet": "Térkép:",
Expand Down
2 changes: 1 addition & 1 deletion locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Sorgenti dati",
"help.attr.data": "Data &copy; contributori <a href=\"http://openstreetmap.org/\">OpenStreetMap</a>, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Condizioni d'uso</a>)</span>",
"help.attr.mining": "Elaborazione dei dati da parte di",
"help.attr.tiles": "Map tile &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributori, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Map tile &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributori",
"help.attr.search": "Ricerca fornita da",
"help.attr.software": "Software & librerie",
"help.attr.leaflet": "Mappa offerta da",
Expand Down
2 changes: 1 addition & 1 deletion locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "データソース",
"help.attr.data": "Data &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Terms</a>)</span>",
"help.attr.mining": "Data mining by",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors",
"help.attr.search": "Search provided by",
"help.attr.software": "Software & Libraries",
"help.attr.leaflet": "Map powered by",
Expand Down
2 changes: 1 addition & 1 deletion locales/lv.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"help.attr.data_sources": "Data Sources",
"help.attr.data": "Data &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <span style=\"font-size:smaller;\"><a href=\"http://opendatacommons.org/licenses/odbl/1-0/\">ODbL</a> (<a href=\"http://www.openstreetmap.org/copyright\">Terms</a>)</span>",
"help.attr.mining": "Data mining by",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" style=\"font-size:smaller;\">CC-BY-SA</a>",
"help.attr.tiles": "Map tiles &copy; <a href=\"http://openstreetmap.org/\">OpenStreetMap</a> contributors",
"help.attr.search": "Search provided by",
"help.attr.software": "Software & Libraries",
"help.attr.leaflet": "Map powered by",
Expand Down
Loading

0 comments on commit 2ab849a

Please sign in to comment.