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

Method get_style_map

folium/features.py:893–895  ·  view source on GitHub ↗

Return a dict that maps style parameters to features.

(self, style_function: Callable)

Source from the content-addressed store, hash-verified

891 self.geojson_obj = geojson_obj
892
893 def get_style_map(self, style_function: Callable) -> TypeStyleMapping:
894 """Return a dict that maps style parameters to features."""
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."""

Callers 1

renderMethod · 0.95

Calls 1

_create_mappingMethod · 0.95

Tested by

no test coverage detected