saving map as png #1035
-
Hello! I really want to be able to loop through a stack of images, overlay a vector, and save the resulting map (centered on the polygon and at a certain zoom) as a png. Then I would take the folder of images and put each image on a powerpoint slide or markdown document (I have code for this already). I can loop through, overlay a vector, and programmatically center the map at the zoom I want. I am struggling with export though. Do you have any ideas on how I could go about doing this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You can put the map in full screen mode, then you can use the toolbar button to save the screenshot as show below. You can also use In short, it can only take the screenshot of an entire screen. It can't take screenshot of just the map area if it is not in full screen mode. |
Beta Was this translation helpful? Give feedback.
You can put the map in full screen mode, then you can use the toolbar button to save the screenshot as show below.
You can also use
m.to_image("./map.png", monitor=1)
to save screenshot programmatically, but you will need two monitors to do this.In short, it can only take the screenshot of an entire screen. It can't take screenshot of just the map area if it is not in full screen mode.