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

Method render

folium/map.py:272–283  ·  view source on GitHub ↗

Renders the HTML representation of the element.

(self, **kwargs)

Source from the content-addressed store, hash-verified

270 self.overlays = OrderedDict()
271
272 def render(self, **kwargs):
273 """Renders the HTML representation of the element."""
274 self.reset()
275 for item in self._parent._children.values():
276 if not isinstance(item, Layer) or not item.control:
277 continue
278 key = item.layer_name
279 if not item.overlay:
280 self.base_layers[key] = item.get_name()
281 else:
282 self.overlays[key] = item.get_name()
283 super().render()
284
285
286class Icon(MacroElement):

Callers

nothing calls this directly

Calls 2

resetMethod · 0.95
renderMethod · 0.45

Tested by

no test coverage detected