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);

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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