-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Map view should use pixel density of current screen #7819
Comments
I wonder if this is happening because |
Yes, it turns out I was doing that — opened macapp from finder on the retina screen, but the app opened on the second, non-retina display. Focusing the non-retina screen and opening macapp on that screen works as expected (it’s anti-aliased). |
Incidentally, are you able to reproduce #6654? |
Moving to a screen with a different pixel density doesn’t crash (on a release build), but the GL view does stop working and goes gray/whatever-the-style’s-background-color-is. MGLMapView UI elements remain visible and map interactions appear to still work, but nothing is drawn. |
The root cause is that we create We’re in a catch-22. Ideally we’d use a solution similar to #7846 when creating |
As of #12933, mbgl requests both 1× and 2× resources unconditionally, though the decision of which to display is still made at initialization and can’t be changed dynamically. |
Per #13701, it’s also possible for the iOS map SDK to run in a mixed pixel density environment, specifically when connected to an external display via either AirPlay or CarPlay. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
Platform: macOS 10.12.3 Beta (16D17a)
Mapbox SDK version: macOS 0.3.0
Hardware: MacBook Pro (Retina, 13-inch, Early 2015), Intel Iris Graphics 6100 1536 MB
When running macapp on a non-retina screen, the map graphics are aliased and chunky. This is on 10.12.3 beta — when I update to today’s official release version I will retest.
/cc @1ec5 @kkaefer
The text was updated successfully, but these errors were encountered: