Skip to content

Round-trip linear interpolators - #6425

Merged
1ec5 merged 1 commit into
masterfrom
1ec5-interpolate-linear-11562
Mar 30, 2018
Merged

1ec5 merged 1 commit into
masterfrom
1ec5-interpolate-linear-11562

Conversation

@1ec5

@1ec5 1ec5 commented Mar 30, 2018

Copy link
Copy Markdown
Contributor

Linear interpolators should be serialized as such rather than as exponential interpolators with a base of 1.0. These test fixture changes are required for mapbox/mapbox-gl-native#11562.

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • document any changes to public APIs
  • post benchmark scores
  • manually test the debug page

/cc @anandthakker @ChrisLoer

@1ec5 1ec5 added bug 🐞 testing 💯 cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) labels Mar 30, 2018
@1ec5 1ec5 self-assigned this Mar 30, 2018
@1ec5
1ec5 requested review from ChrisLoer and anandthakker March 30, 2018 00:57
"isZoomConstant": false,
"type": "number"
},
"outputs": [20],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did the whole "serialized" section disappear here (and in zoom/basic)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I thought serialized is only needed when it differs from expression. I can add it back.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea! But no it doesn't do that (yet)...

Linear interpolators should be serialized as such rather than as exponential interpolators with a base of 1.0.
@1ec5
1ec5 force-pushed the 1ec5-interpolate-linear-11562 branch from 065c645 to 34902f8 Compare March 30, 2018 01:20
@1ec5
1ec5 requested a review from ChrisLoer March 30, 2018 01:21

@ChrisLoer ChrisLoer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@1ec5
1ec5 merged commit 34902f8 into master Mar 30, 2018
@1ec5
1ec5 deleted the 1ec5-interpolate-linear-11562 branch March 30, 2018 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐞 cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) testing 💯

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants