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
Copy file name to clipboardexpand all lines: python/ipyleaflet/ipyleaflet/leaflet.py
+15-2
Original file line number
Diff line number
Diff line change
@@ -1096,8 +1096,16 @@ class VectorTileLayer(Layer):
1096
1096
Url to the vector tile service.
1097
1097
attribution: string, default ""
1098
1098
Vector tile service attribution.
1099
-
vector_tile_layer_styles: dict, default {}
1099
+
vector_tile_layer_styles: dict or string, default {}. If string, it will be parsed as a javascript object (useful for defining styles that depend on properties and/or zoom).
1100
1100
CSS Styles to apply to the vector data.
1101
+
min_zoom: int, default 0
1102
+
The minimum zoom level down to which this layer will be displayed (inclusive).
1103
+
max_zoom: int, default 18
1104
+
The maximum zoom level up to which this layer will be displayed (inclusive).
1105
+
min_native_zoom: int, default None
1106
+
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.
1107
+
max_native_zoom: int, default None
1108
+
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.
0 commit comments