show provider of exchange rates data and map in about page

This commit is contained in:
MaysWind
2024-06-29 14:09:47 +08:00
parent 02a5dcf9ba
commit 2d51f7b2be
9 changed files with 158 additions and 4 deletions
+7
View File
@@ -5,6 +5,7 @@ const leafletTileSources = {
minZoom: 1,
maxZoom: 19,
defaultZoomLevel: 14,
website: 'https://www.openstreetmap.org',
attribution : '&copy; <a href="https://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a> contributors'
},
'openstreetmap-humanitarian': {
@@ -13,6 +14,7 @@ const leafletTileSources = {
minZoom: 1,
maxZoom: 19,
defaultZoomLevel: 14,
website: 'https://www.hotosm.org',
attribution : '&copy; <a href="https://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a> contributors, Tiles style by <a href="https://www.hotosm.org/" class="external" target="_blank">Humanitarian OpenStreetMap Team</a> hosted by <a href="https://openstreetmap.fr/" class="external" target="_blank">OpenStreetMap France</a>'
},
'opentopomap': {
@@ -21,6 +23,7 @@ const leafletTileSources = {
minZoom: 1,
maxZoom: 17,
defaultZoomLevel: 14,
website: 'https://opentopomap.org',
attribution : 'Map data: &copy; <a href="https://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a> contributors, <a href="http://viewfinderpanoramas.org" class="external" target="_blank">SRTM</a> | Map style: &copy; <a href="https://opentopomap.org" class="external" target="_blank">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/" class="external" target="_blank">CC-BY-SA</a>)'
},
'opnvkarte': {
@@ -29,6 +32,7 @@ const leafletTileSources = {
minZoom: 1,
maxZoom: 17,
defaultZoomLevel: 14,
website: 'https://memomaps.de',
attribution : 'Map <a href="https://memomaps.de/" class="external" target="_blank">memomaps.de</a> <a href="http://creativecommons.org/licenses/by-sa/2.0/" class="external" target="_blank">CC-BY-SA</a>, map data &copy; <a href="https://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a> contributors'
},
'cyclosm': {
@@ -37,6 +41,7 @@ const leafletTileSources = {
minZoom: 1,
maxZoom: 19,
defaultZoomLevel: 14,
website: 'https://github.com/cyclosm/cyclosm-cartocss-style',
attribution : '<a href="https://github.com/cyclosm/cyclosm-cartocss-style/releases" title="CyclOSM - Open Bicycle render" class="external" target="_blank">CyclOSM</a> | Map data: &copy; <a href="https://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a> contributors'
},
'cartodb': {
@@ -45,6 +50,7 @@ const leafletTileSources = {
minZoom: 1,
maxZoom: 20,
defaultZoomLevel: 14,
website: 'https://carto.com',
attribution : '&copy; <a href="http://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a>, &copy; <a href="https://carto.com/attributions" class="external" target="_blank">CARTO</a>'
},
'tomtom': {
@@ -63,6 +69,7 @@ const leafletTileSources = {
minZoom: 1,
maxZoom: 19,
defaultZoomLevel: 14,
website: 'https://tomtom.com',
attribution : '<a href="https://tomtom.com" class="external" target="_blank">&copy; 1992 - 2023 TomTom.</a>'
}
}