MCPcopy
hub / github.com/python-visualization/folium / render

Method render

folium/map.py:474–481  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

472 return cast(TypeBoundsReturn, [self.location, self.location])
473
474 def render(self):
475 if self.location is None:
476 raise ValueError(
477 f"{self._name} location must be assigned when added directly to map."
478 )
479 if self.icon:
480 self.add_child(self.SetIcon(marker=self, icon=self.icon))
481 super().render()
482
483 def set_icon(self, icon):
484 """Set the icon for this Marker"""

Callers

nothing calls this directly

Calls 2

add_childMethod · 0.95
renderMethod · 0.45

Tested by

no test coverage detected