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 that you have read and understand our privacy policy and code of conduct.

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