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

Method render

folium/features.py:1708–1717  ·  view source on GitHub ↗

Render the GeoJson/TopoJson and color scale objects.

(self, **kwargs)

Source from the content-addressed store, hash-verified

1706 return value
1707
1708 def render(self, **kwargs):
1709 """Render the GeoJson/TopoJson and color scale objects."""
1710 if self.color_scale:
1711 # ColorMap needs Map as its parent
1712 assert isinstance(
1713 self._parent, Map
1714 ), "Choropleth must be added to a Map object."
1715 self.color_scale._parent = self._parent
1716
1717 super().render(**kwargs)
1718
1719
1720class DivIcon(MacroElement):

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected