@@ -149,7 +149,8 @@ def add_select_features(self) -> None:
149
149
"""Add `Select-Features` interaction to the map
150
150
151
151
Note:
152
- At the moment highlighting of selected features only works for `VectorLayer` type
152
+ Currently, highlighting selected features is not supported
153
+ for layers of type `WebGLVectorLayer`.
153
154
"""
154
155
self .add_call ("addSelectFeatures" )
155
156
@@ -158,7 +159,7 @@ def add_drag_and_drop_vector_layers_interaction(
158
159
formats : list [FormatT ] = [GeoJSON (), TopoJSON (), GPX (), KML ()],
159
160
style : FlatStyle | dict = None ,
160
161
) -> None :
161
- """Add drag and drop interaction to map"""
162
+ """Add a drag and drop interaction to the map"""
162
163
formats = [f .model_dump () for f in formats ]
163
164
if isinstance (style , FlatStyle ):
164
165
style = style .model_dump ()
@@ -170,6 +171,9 @@ def add_modify_interaction(self, layer_id) -> None:
170
171
171
172
Modify features of a vector layer.
172
173
174
+ Note:
175
+ Layers of type `WebGLVectorLayer` are not supported.
176
+
173
177
Args:
174
178
layer_id (str): The ID of the layer you want to modify
175
179
"""
@@ -206,7 +210,7 @@ def set_style(self, layer_id: str, style: FlatStyle | dict) -> None:
206
210
self .add_layer_call (layer_id , "setStyle" , style )
207
211
208
212
def set_source (self , layer_id : str , source : SourceT | dict ) -> None :
209
- """Set / Update the source of a layer
213
+ """Set the source of a layer
210
214
211
215
Args:
212
216
layer_id {str}: The ID of the layer
0 commit comments