jupyter-widgets / ipyleaflet

A Jupyter - Leaflet.js bridge
https://ipyleaflet.readthedocs.io
MIT License
1.48k stars 363 forks source link

feat: add visible trait to MarkerCluster #1109

Open 12rambau opened 1 year ago

12rambau commented 1 year ago

Fix #1108

In this PR I added a visible boolean trait to the MarkerCluster. When updated, all the underlying markers are changed accordingly allowing the user to hide all markers with 1 line:

marker_cluster.visible = False