diff options
Diffstat (limited to 'src/js/app/mapfactory.js')
-rw-r--r-- | src/js/app/mapfactory.js | 9 |
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 = '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors', - attribCarto = '© <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 + ' — Map data ' + attribOSM, + var attribOSM = '© <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors'; + var attribCarto = '© <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 + ' — Map data ' + attribOSM + ' ' + licenseODbL, subdomains: 'abcd', maxZoom: 19 }), |