@@ -149,7 +149,8 @@ def add_select_features(self) -> None:
149149 """Add `Select-Features` interaction to the map
150150
151151 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`.
153154 """
154155 self .add_call ("addSelectFeatures" )
155156
@@ -158,7 +159,7 @@ def add_drag_and_drop_vector_layers_interaction(
158159 formats : list [FormatT ] = [GeoJSON (), TopoJSON (), GPX (), KML ()],
159160 style : FlatStyle | dict = None ,
160161 ) -> None :
161- """Add drag and drop interaction to map"""
162+ """Add a drag and drop interaction to the map"""
162163 formats = [f .model_dump () for f in formats ]
163164 if isinstance (style , FlatStyle ):
164165 style = style .model_dump ()
@@ -170,6 +171,9 @@ def add_modify_interaction(self, layer_id) -> None:
170171
171172 Modify features of a vector layer.
172173
174+ Note:
175+ Layers of type `WebGLVectorLayer` are not supported.
176+
173177 Args:
174178 layer_id (str): The ID of the layer you want to modify
175179 """
@@ -206,7 +210,7 @@ def set_style(self, layer_id: str, style: FlatStyle | dict) -> None:
206210 self .add_layer_call (layer_id , "setStyle" , style )
207211
208212 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
210214
211215 Args:
212216 layer_id {str}: The ID of the layer
0 commit comments