Recall & restore last map position upon restart

Issue #124 resolved
Martin McKay created an issue

I’d like to propose remembering & restoring the last map position between exit & restart of the app sessions,

I believe this would increase the usability significantly if map positions were retained, including zoom factors between each session of usage. In addition you could also consider the ability to click-drag a box to set map area as per Xastir, which really shortcuts the whole zoom, scroll, zoom, scroll behaviour needed in the current build and makes a less slick user experience.

Equally, it would be nice if map overlays were also retained as they are very useful

Comments (5)

  1. Weston Bustraan repo owner

    I believe there is a setting that you can change that will enable some of the functionality that you’re describing.

    In System Preferences → General, uncheck “Close windows when quitting an app”

    The settings related to map position, zoom, map overlays are associated with individual windows such that windows can have different settings between them; i.e. one window could have an overlay enabled, while another one might not.

    But when macOS explicitly closes these windows when upon closing the app, the settings are not retained.

  2. Martin McKay reporter

    Thanks for the update, I understand this is a choice & preference of course. This would be much more useful if a local feature/setting to this app to retain settings on reload, as the majority of users will have this disabled as per the OS X default, and the implications of turning it on affects the entire OS behaviour. In my opinion, this would be a great enhancement from a usability angle but that’s of course just my own view :) thanks for the response

  3. Weston Bustraan repo owner

    The way that the app works is that each window you open retains its settings. So, you could, hypothetically, open 4 separate map windows and pan/zoom them to different parts of the world, enable different overlays, etc. When you close the app and then re-open it, it will restore all 4 windows with the same settings as before.

    It follows that, if you close 2 of the 4 windows, the app will discard the settings for the windows that were closed. No sense in keeping defunct data around.

    However, if that particular checkbox is checked in System Settings, when quitting the app, the operating system will close all windows on your behalf. Unfortunately, as far as I know, there is no way to distinguish between the system closing the windows and the user doing it themselves. So the app discards each window’s data and then there is nothing to restore on next launch.

  4. Log in to comment