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

Disable fading when rendering still images #942

Merged
merged 1 commit into from
Oct 14, 2015

Conversation

brunoabinader
Copy link
Member

When using the static image rendering API, we have to disable fading.

image

@mikemorris
Copy link
Contributor

This looks 💯 now, thanks for hitting this @brunoabinader!

@bsudekum
Copy link

To clarify this change:

Labels which which fade while zooming should not fade while a static image is created. This is because if the label is in transition, it could potential never end it's transition and show up opaque as seen above.

This PR removes fading completely to make sure no label is opaque due to fading at render time.

Tested out this PR, tests looked great. @jfirebaugh good to merge this?

@jfirebaugh
Copy link
Contributor

👍

@brunoabinader brunoabinader merged commit 9a97333 into master Oct 14, 2015
@brunoabinader brunoabinader deleted the 942-disable-fade-if-still-mode branch October 14, 2015 20:56
@incanus incanus added the P1 label Nov 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Node.js node-mapbox-gl-native
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants