from ipyleaflet import Map, Marker, MarkerCluster
import geopandas
cities = geopandas.read_file("zip://./geopandas_cities.zip")
m = Map(center=(42.5, -41.6), zoom=2)
m.add(
MarkerCluster(
markers=[
Marker(location=geolocation.coords[0][::-1])
for geolocation in cities.geometry
],
disable_clustering_at_zoom=3,
max_cluster_radius=100,
)
)
m