pbugnion / gmaps

Google maps for Jupyter notebooks
https://jupyter-gmaps.readthedocs.io/en/stable/
Other
760 stars 146 forks source link

How to export a dynamic map to png without having to use a browser? #355

Open ghost opened 2 years ago

ghost commented 2 years ago

Is there a way to do the following?

fig = gmaps.figure(center=center, zoom_level=11, map_type='HYBRID')
heatmap_layer = gmaps.heatmap_layer(d[['location_latitude', 'location_longitude']])
heatmap_layer.max_intensity = 100
heatmap_layer.point_radius = 5
fig.add_layer(heatmap_layer)
fig.save('xyz.png')  #