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

Fallback to use non-retina assets #711

Closed
mick opened this issue Aug 19, 2014 · 1 comment
Closed

Fallback to use non-retina assets #711

mick opened this issue Aug 19, 2014 · 1 comment

Comments

@mick
Copy link

mick commented Aug 19, 2014

Mapbox-gl-js automatically tries to load retina assets on retina screens, but if those images arent available it should fallback to using the non-retina version of the image.

Example: http://mapmeld.github.io/van-gogh-map/#6.06/39.756/-814.736 fails to load on a retina screen with these errors:
screen shot 2014-08-19 at 11 50 29 am

@mourner mourner added this to the future milestone Aug 27, 2014
@jfirebaugh jfirebaugh removed this from the future milestone Jun 15, 2015
@jfirebaugh
Copy link
Contributor

We have future plans for sprites that would make this unnecessary -- mapbox/mapbox-gl-style-spec#220, mapbox/mapbox-gl-style-spec#222. Outside of changes in that vein, we're not planning to change the behavior of sprite asset requests, so I'm going to close this issue.

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

No branches or pull requests

3 participants