Provide CartoDB API key

This commit is contained in:
Ian Renton
2026-08-28 15:43:52 +01:00
parent 85f63a1258
commit d63897f8ad
13 changed files with 32 additions and 22 deletions
+3 -2
View File
@@ -801,12 +801,13 @@
}
},
CartoDB: {
url: 'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png',
url: 'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png?key={key}',
options: {
attribution: '{attribution.OpenStreetMap} &copy; <a href="https://carto.com/attributions">CARTO</a>',
subdomains: 'abcd',
maxZoom: 20,
variant: 'light_all'
variant: 'light_all',
key: '<insert your API key here>'
},
variants: {
Positron: 'light_all',