the default mapview maps are now showing a "Carto API Key required" in the tiles.
In the CARTO documentation, it says:
add it to your tile URL as a key parameter:
https://basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png?key=YOUR_KEY
In Leaflet that looks like:
L.tileLayer('https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png?key=YOUR_KEY', {
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>, © <a href="https://carto.com/attributions">CARTO</a>',
subdomains: 'abcd', maxZoom: 20
}).addTo(map);
Suggestion to add an argument of token=... to mapview() to be able to produce the mapview maps with CartoDB.Positron and CartoDB.DarkMatter
(not sure if this also needs to be fixed in leaflet)
the default mapview maps are now showing a "Carto API Key required" in the tiles.
In the CARTO documentation, it says:
Suggestion to add an argument of
token=...tomapview()to be able to produce the mapview maps with CartoDB.Positron and CartoDB.DarkMatter(not sure if this also needs to be fixed in leaflet)