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

Removed special cased zoom level for HiDPI - #916

Merged
incanus merged 1 commit into
masterfrom
907-hidpi
Feb 25, 2015
Merged

incanus merged 1 commit into
masterfrom
907-hidpi

Conversation

@1ec5

@1ec5 1ec5 commented Feb 25, 2015

Copy link
Copy Markdown
Contributor

No need to load higher-resolution vector tiles for HiDPI displays. This PR does change the zoom levels at which features appear on HiDPI screens, but it should be consistent with LoDPI:

before after

No need to load higher-resolution vector tiles for HiDPI displays.

Fixes #907.
@incanus

incanus commented Feb 25, 2015

Copy link
Copy Markdown
Contributor

Cool, this looks good to me. See some tests at https://www.dropbox.com/sh/ohcb9j56r1pw0ao/AACPXgPlNB2Ps1mMzQ5LFgyEa?dl=0.

The change is most apparent between @2x raster views, where things were too tiny before and loaded 4x as many tiles as needed, as a result of the original dev happening on the v3 API but now having the v4 one with 512px tiles.

incanus added a commit that referenced this pull request Feb 25, 2015
Removed special cased zoom level for HiDPI
@incanus
incanus merged commit feae53f into master Feb 25, 2015
@1ec5
1ec5 deleted the 907-hidpi branch February 25, 2015 21:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants