You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplify max_zoom logics in Map and TileLayer (#965)
* Simplify max_zoom logics in Map and TileLayer
* Change default values of zoom and center from none/null to defined values.
* Update Playwright Snapshots
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The minimum zoom level down to which this layer will be displayed (inclusive).
554
554
max_zoom: int, default 18
555
-
Maximum zoom for this tile service.
556
-
min_native_zoom: int, default 0
557
-
max_native_zoom: int, default 18
555
+
The maximum zoom level up to which this layer will be displayed (inclusive).
556
+
min_native_zoom: int, default None
557
+
Minimum zoom number the tile source has available. If it is specified, the tiles on all zoom levels lower than min_native_zoom will be loaded from min_native_zoom level and auto-scaled.
558
+
max_native_zoom: int, default None
559
+
Maximum zoom number the tile source has available. If it is specified, the tiles on all zoom levels higher than max_native_zoom will be loaded from max_native_zoom level and auto-scaled.
558
560
bounds: list or None, default None
559
561
List of SW and NE location tuples. e.g. [(50, 75), (75, 120)].
560
562
tile_size: int, default 256
561
563
Tile sizes for this tile service.
562
-
attribution: string, default "Map data (c) <a href="https://openstreetmap.org">OpenStreetMap</a> contributors"
564
+
attribution: string, default None.
563
565
Tiles service attribution.
564
566
no_wrap: boolean, default False
565
567
Whether the layer is wrapped around the antimeridian.
@@ -581,12 +583,11 @@ class TileLayer(RasterLayer):
0 commit comments