Skip to content

Commit

Permalink
set max zoom on osm layer (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Dec 4, 2023
1 parent 52b4403 commit cc40061
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lonboard/_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ class BitmapTileLayer(BaseLayer):
data="https://tile.openstreetmap.org/{z}/{x}/{y}.png",
tile_size=256,
max_requests=-1,
min_zoom=0,
max_zoom=19,
)
m = Map(layers=[layer])
```
Expand Down

0 comments on commit cc40061

Please sign in to comment.