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
+58-4
Original file line number
Diff line number
Diff line change
@@ -1096,7 +1096,7 @@ 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 or string, default {}. If string, it will be parsed as a javascript object (useful for defining styles that depend on properties and/or zoom).
1099
+
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
1101
min_zoom: int, default 0
1102
1102
The minimum zoom level down to which this layer will be displayed (inclusive).
@@ -1110,6 +1110,12 @@ class VectorTileLayer(Layer):
1110
1110
Opacity of the layer between 0. (fully transparent) and 1. (fully opaque).
1111
1111
visible: boolean, default True
1112
1112
Whether the layer is visible or not.
1113
+
renderer: string, default 'svg'
1114
+
Engine for rendering VectorTileLayers; either 'canvas' or 'svg'. Use 'svg' for interactive layers.
1115
+
interactive: boolean, default False
1116
+
Whether the layer is interactive or not.
1117
+
feature_id: string, default None
1118
+
Optional attribute name of a unique feature identifier.
0 commit comments