3

Is there an ssl version for cartodb light_all basemap ?

I am currently using the following code via leaflet.js L.tileLayer('http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png', { noWrap: true, detectRetina: true }).addTo(map);

1 Answer 1

4

you can use the following urls:

https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png

available subdomains are: abcd

you can use subdomains leaflet option http://leafletjs.com/reference.html#tilelayer-subdomains

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.