I am working on automating the process of inset maps and was wondering if anyone knew how to automate the zoom on the extent map. For example, in this photo you can see two inset maps created of cluster layers, however this doesn't do any good since the inset map is zoomed out.
After some experimenting I found out how to zoom in manually which involved opening the inset map by rightclicking it on the layout and pressing "Open". Zooming in how you would like and then going back to the layout, rightclick again and press "Zoom to Last Active Map". After doing this the inset maps on the layout now look like this:
I was wondering if someone knows how to do this automatically using ArcPy?
Hi!
You can activate the map frame in the layout and then zoom in, so you don't have to switch views. Instead of choosing Open when you right click the map frame, choose Activate. Then you'll be able to zoom and pan within the layout view itself. Learn more about navigating maps in layouts here https://pro.arcgis.com/en/pro-app/latest/help/layouts/work-with-a-map-on-a-layout.htm