aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/app/mapfactory.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/js/app/mapfactory.js b/src/js/app/mapfactory.js
index f54060d..647ef31 100644
--- a/src/js/app/mapfactory.js
+++ b/src/js/app/mapfactory.js
@@ -1,9 +1,10 @@
define(['leaflet'], function(L) {
// base config
- var attribOSM = '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
- attribCarto = '&copy; <a href="http://cartodb.com/attributions">CartoDB</a>',
- TileLayer = L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png', {
- attribution: 'Imagery ' + attribCarto + ' &mdash; Map data ' + attribOSM,
+ var attribOSM = '&copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors';
+ var attribCarto = '&copy; <a href="https://cartodb.com/attributions">CARTO</a>';
+ var licenseODbL ='under the <a href="https://opendatacommons.org/licenses/odbl/1.0/">ODbL 1.0</a> license';
+ var TileLayer = L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png', {
+ attribution: 'Imagery ' + attribCarto + ' &mdash; Map data ' + attribOSM + ' ' + licenseODbL,
subdomains: 'abcd',
maxZoom: 19
}),