File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -577,6 +577,8 @@ class TileLayer(RasterLayer):
577
577
Whether the layer is wrapped around the antimeridian.
578
578
tms: boolean, default False
579
579
If true, inverses Y axis numbering for tiles (turn this on for TMS services).
580
+ zoom_offset: int, default 0
581
+ The zoom number used in tile URLs will be offset with this value.
580
582
show_loading: boolean, default False
581
583
Whether to show a spinner when tiles are loading.
582
584
loading: boolean, default False (dynamically updated)
@@ -601,6 +603,7 @@ class TileLayer(RasterLayer):
601
603
detect_retina = Bool (False ).tag (sync = True , o = True )
602
604
no_wrap = Bool (False ).tag (sync = True , o = True )
603
605
tms = Bool (False ).tag (sync = True , o = True )
606
+ zoom_offset = Int (0 ).tag (sync = True , o = True )
604
607
show_loading = Bool (False ).tag (sync = True )
605
608
loading = Bool (False , read_only = True ).tag (sync = True )
606
609
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ export class LeafletTileLayerModel extends rasterlayer.LeafletRasterLayerModel {
24
24
no_wrap : false ,
25
25
tms : false ,
26
26
show_loading : false ,
27
- loading : false
27
+ loading : false ,
28
+ zoom_offset : 0
28
29
} ;
29
30
}
30
31
}
You can’t perform that action at this time.
0 commit comments