Pass one or multiple layers that must stay in front. The ordering matters, the last one is put on top. Parameters ---------- *args : Variable length argument list. Any folium object that counts as an overlay. For example FeatureGroup or TileL
(self, *args: Layer)
| 471 | ) |
| 472 | |
| 473 | def keep_in_front(self, *args: Layer) -> None: |
| 474 | """Pass one or multiple layers that must stay in front. |
| 475 | |
| 476 | The ordering matters, the last one is put on top. |
| 477 | |
| 478 | Parameters |
| 479 | ---------- |
| 480 | *args : |
| 481 | Variable length argument list. Any folium object that counts as an |
| 482 | overlay. For example FeatureGroup or TileLayer. |
| 483 | Does not work with markers, for those use z_index_offset. |
| 484 | """ |
| 485 | for obj in args: |
| 486 | self.objects_to_stay_in_front.append(obj) |
nothing calls this directly
no outgoing calls
no test coverage detected