Skip to content

Commit dda1dae

Browse files
authored
Update CartoDB tiles to require API key. (#208)
* Update CartoDB tiles to require API key. * clear outputs * lint
1 parent 61cd453 commit dda1dae

6 files changed

Lines changed: 131 additions & 280 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
xyzservices 2026.9.0 (September 4, 2026)
5+
----------------------------------------
6+
7+
- Update CartoDB tiles to require API key.
8+
49
xyzservices 2026.3.0 (March 30, 2026)
510
-------------------------------------
611

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ of available XYZ tile sources. You can also explore it as a standard `dict` usin
4444
`TileProvider` object with all the details you may need:
4545

4646
```py
47-
>>> xyz.CartoDB.Positron.url
48-
'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png'
47+
>>> xyz.OpenStreetMap.Mapnik.url
48+
'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
4949

50-
>>> xyz.CartoDB.Positron.attribution
51-
'(C) OpenStreetMap contributors (C) CARTO'
50+
>>> xyz.OpenStreetMap.Mapnik.attribution
51+
'(C) OpenStreetMap contributors'
5252
```
5353

5454
You can also check if the `TileProvider` needs API token and pass it to the object if

doc/source/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ of available XYZ tile sources. You can also explore it as a standard `dict` usin
4848
`TileProvider` object with all the details you may need:
4949

5050
```py
51-
>>> xyz.CartoDB.Positron.url
52-
'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png'
51+
>>> xyz.OpenStreetMap.Mapnik.url
52+
xyz.OpenStreetMap.Mapnik.url
5353

54-
>>> xyz.CartoDB.Positron.attribution
55-
'(C) OpenStreetMap contributors (C) CARTO'
54+
>>> xyz.OpenStreetMap.Mapnik.attribution
55+
'(C) OpenStreetMap contributors'
5656
```
5757

5858
You can also check if the `TileProvider` needs API token and pass it to the object if

0 commit comments

Comments
 (0)