MCPcopy Index your code
hub / github.com/python-visualization/folium / get_highlight_map

Method get_highlight_map

folium/features.py:897–899  ·  view source on GitHub ↗

Return a dict that maps highlight parameters to features.

(self, highlight_function: Callable)

Source from the content-addressed store, hash-verified

895 return self._create_mapping(style_function, "style")
896
897 def get_highlight_map(self, highlight_function: Callable) -> TypeStyleMapping:
898 """Return a dict that maps highlight parameters to features."""
899 return self._create_mapping(highlight_function, "highlight")
900
901 def _create_mapping(self, func: Callable, switch: str) -> TypeStyleMapping:
902 """Internal function to create the mapping."""

Callers 1

renderMethod · 0.95

Calls 1

_create_mappingMethod · 0.95

Tested by

no test coverage detected