Allow folium-based maps to customize which layers display in tooltip?
Feature Request
In folium map, tooltip is only a boolean, displaying all data layers or none. (In contrast, in the maplibre backend we can use `template` argument to style and select what shows in the tool tip). It looks like the underlying folium library supports specifying the data layers though: https://github.com/opengeos/leafmap/blob/861a5918ca9fced1275ffc633259616cfb93bef7/leafmap/foliumap.py#L1595
it would be great if this ability were exposed through the leafmap folium interface.
关闭于 2025-07-24 4 条评论