This repository has been archived by the owner on Apr 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
consolidate functions #96
Comments
@lbud Want to grab this one next? |
Should we keep the |
I'm going to leave this to @ansis to export it from his brain > javascript to see it in action, and then I'll grab migration things once it works |
Closed
Done in #99. |
kkaefer
added a commit
to mapbox/mapbox-gl-js
that referenced
this issue
Jul 17, 2014
this avoids a division by 0 and removes the need for awkward 1.01 hacks refs #543 and mapbox/mapbox-gl-style-spec#96
kkaefer
added a commit
to mapbox/mapbox-gl-js
that referenced
this issue
Jul 17, 2014
kkaefer
added a commit
to mapbox/mapbox-gl-native
that referenced
this issue
Jul 17, 2014
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have three different ways of writing functions. Some of them are pretty complex. I think we can consolidate them into one type:
This is exactly like the current stops function, except the interpolation is exponential. It interpolates based on an curve that goes through the two points and has the given exponential base. Using a small base like
1.01
makes the interpolation linear.We should do this for v4.
The math:
@nickidlugash @edenh @kkaefer @mourner @yhahn @lbud
The text was updated successfully, but these errors were encountered: