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

Method set_icon

folium/map.py:483–486  ·  view source on GitHub ↗

Set the icon for this Marker

(self, icon)

Source from the content-addressed store, hash-verified

481 super().render()
482
483 def set_icon(self, icon):
484 """Set the icon for this Marker"""
485 super().add_child(icon)
486 self.icon = icon
487
488 def add_child(self, child, name=None, index=None):
489 import folium.features as features

Callers 3

__init__Method · 0.95
add_childMethod · 0.95

Calls 1

add_childMethod · 0.45

Tested by

no test coverage detected