Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapboxImageryProvider: high-DPI (@2x) support #3899

Closed
wants to merge 1 commit into from

Conversation

devyn
Copy link

@devyn devyn commented May 6, 2016

Mapbox supports retina/2x high-DPI images by prepending '@2x' to the URL right before the dot and the format.

This commit adds a boolean option to MapboxImageProvider called retina (default: false) to control this.

@pjcozzi
Copy link
Contributor

pjcozzi commented May 10, 2016

@devyn thanks for this contribution! Can you please send in a Contributor License Agreement (CLA) so we can review this?

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 3, 2016

@devyn thanks again! Can you please send in a Contributor License Agreement (CLA) so someone can review this?

mramato added a commit that referenced this pull request Oct 19, 2016
This just allows `format` to be anything, rather than forcing it to start
with a `.` which provides the flexibility for specifying `@2x.png`.

Replaces #3899.
@mramato
Copy link
Contributor

mramato commented Oct 19, 2016

Hi @devyn, since we never received a CLA from you, we're unable to review/merge this. I'm opening a separate pull request to solve this problem in a slightly different way so the feature will still get added. Thanks anyway,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants