Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/ipyleaflet/ipyleaflet/leaflet.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ class TileLayer(RasterLayer):

Attributes
----------
url: string, default "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
url: string, default "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
Url to the tiles service.
min_zoom: int, default 0
The minimum zoom level down to which this layer will be displayed (inclusive).
Expand Down Expand Up @@ -697,7 +697,7 @@ class TileLayer(RasterLayer):
_model_name = Unicode("LeafletTileLayerModel").tag(sync=True)

bottom = Bool(True).tag(sync=True)
url = Unicode("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png").tag(sync=True)
url = Unicode("https://tile.openstreetmap.org/{z}/{x}/{y}.png").tag(sync=True)
min_zoom = Int(0).tag(sync=True, o=True)
max_zoom = Int(18).tag(sync=True, o=True)
min_native_zoom = Int(default_value=None, allow_none=True).tag(sync=True, o=True)
Expand Down
2 changes: 1 addition & 1 deletion python/jupyter_leaflet/src/layers/TileLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class LeafletTileLayerModel extends LeafletRasterLayerModel {
_view_name: 'LeafletTileLayerView',
_model_name: 'LeafletTileLayerModel',
bottom: true,
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
min_zoom: 0,
max_zoom: 18,
min_native_zoom: null,
Expand Down
Loading