MCPcopy Create free account
hub / github.com/python-visualization/folium / highlight_function

Method highlight_function

folium/features.py:1672–1673  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1670 }
1671
1672 def highlight_function(x):
1673 return {"weight": line_weight + 2, "fillOpacity": fill_opacity + 0.2}
1674
1675 if topojson:
1676 self.geojson: Union[TopoJson, GeoJson] = TopoJson(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected