Skip to content

Commit 4d04460

Browse files
authored
Update Map.keep_in_front() docstring (#1291)
1 parent 690ec2b commit 4d04460

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

folium/folium.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,15 +418,16 @@ def choropleth(self, *args, **kwargs):
418418
self.add_child(Choropleth(*args, **kwargs))
419419

420420
def keep_in_front(self, *args):
421-
"""Pass one or multiples object that must stay in front.
421+
"""Pass one or multiple layers that must stay in front.
422422
423423
The ordering matters, the last one is put on top.
424424
425425
Parameters
426426
----------
427427
*args :
428428
Variable length argument list. Any folium object that counts as an
429-
overlay. For example FeatureGroup or a vector object such as Marker.
429+
overlay. For example FeatureGroup or TileLayer.
430+
Does not work with markers, for those use z_index_offset.
430431
"""
431432
for obj in args:
432433
self.objects_to_stay_in_front.append(obj)

0 commit comments

Comments
 (0)