Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Make osxapp document-based #3427

Merged
merged 6 commits into from
Jan 4, 2016
Merged

Make osxapp document-based #3427

merged 6 commits into from
Jan 4, 2016

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jan 4, 2016

Allow for multiple map windows open at a time. If windows aren’t kept when quitting, the last open window is restored at the next launch, just like in Maps.app.

Also fixed the zoom level used for the map feedback tool, and the URL handler now accepts a pitch argument.

Allows for multiple map windows open at a time.
@1ec5 1ec5 added feature macOS Mapbox Maps SDK for macOS labels Jan 4, 2016
@1ec5 1ec5 self-assigned this Jan 4, 2016
1ec5 added 5 commits January 4, 2016 11:40
Instead of forcing the system to restore windows between sessions (which confusingly switches the behavior of ⌘Q and ⌥⌘Q), honor the preference but have each new window inherit the style of the previous main window.
Even with the system preference set to close windows when quitting, the user would still expect this map-centric application to remember the last viewed map, because the world map isn’t quite as interesting.
The map feedback tool still uses mapbox.js, so its zoom levels are one off from Mapbox GL’s.
@1ec5 1ec5 force-pushed the 1ec5-osx-document branch from 545f77c to 8aad739 Compare January 4, 2016 19:40
@1ec5
Copy link
Contributor Author

1ec5 commented Jan 4, 2016

I’m unable to get past the “random” failure in #3163, no matter how many times I retry (a dozen times today). Fortunately, this PR goes nowhere near the failing code.

/cc @jfirebaugh

@1ec5 1ec5 merged commit 8aad739 into master Jan 4, 2016
@1ec5 1ec5 removed the in progress label Jan 4, 2016
@1ec5 1ec5 deleted the 1ec5-osx-document branch January 4, 2016 22:55
1ec5 added a commit that referenced this pull request May 9, 2016
These connections were lost in #3427.

Fixes #3493.
@1ec5 1ec5 mentioned this pull request May 9, 2016
@1ec5 1ec5 modified the milestone: osx-v0.1.0 May 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature macOS Mapbox Maps SDK for macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant