Show and Tell - Dash Leaflet

@tracek Per default, the tooltip property is rendered as tooltip, but you can render a customized tool tip by providing a custom onEachFeature function. There is an example in the scatter plot tutorial section,

from dash_extensions.javascript import assign
...
on_each_feature = assign("""function(feature, layer, context){
    layer.bindTooltip(`${feature.properties.city} (${feature.properties.density})`)
}""")
...
geojson = dl.GeoJSON(url="/assets/us-cities.json",
                     onEachFeature=on_each_feature,  # add (custom) tooltip
...

For your use case, you’d need to change the function slightly, I guess to something like,

dl.GeoJSON(..., onEachFeature=assign("function(feature, layer, context){layer.bindTooltip(feature.properties.name)}"))