I have an orthographic projection created with cartopy with some data plotted, and I am trying to figure out how to “Pan/rotate 3D” such as in google earth, so that when I pan, a new central latitude and longitude is centered, and the plot is redrawn/shifted to show this. I am trying to avoid using mplbasemap, but if someone has an easy basemap method I am definitely interested in seeing it.
Wondering what the best methodology for going about this would be, as pan seems to be its own feature, so should I create my own function where I click, the plot redraws at that central lat/lon (with the current zoom level)? I think this may be an easier way to do this than what I described as copying google earth anyway. I am curious what your guys thoughts and solutions would be, and proposed methodology. Cartopy seems very good at 2D projections, but I really want to be able to work with an interactive 3D globe object.
I tried to alter my code so that when I pan, it recalculates a new central lat/lon, but due to the nature of panning on matplotlib plots, I am not sure if this is a good route to go. So I tried to do something where if I pan, it detects it, calculates a new central lat/lon, then redraws on function call.
user25154404 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.