How to convert html map into image (png or jpg )
问题 I am trying to save a map containing markers and also heatmap into an image. Here is the code to display the map. from ipywidgets import Layout import geopandas defaultLayout=Layout(width='3000px', height='3000px') # A very large image. lat_lgn = [39.74248, 254.993622] m_f = Map(center=lat_lgn, zoom=12, layout=defaultLayout) marker_m = Marker(location=lat_lgn, draggable=False) m_f.add_layer(marker_m) m_f Add some markers on it arr_test1 = [39.74258, 254.993682] arr_test2 = [39.76288, 254