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

feat: add interpolate function #632

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Conversation

jansule
Copy link
Contributor

@jansule jansule commented Jun 20, 2024

This adds the definition for the interpolate function, briefly following the specification of https://docs.mapbox.com/style-spec/reference/expressions/#interpolate. So far, we only support linear interpolations.

This also adds missing typeguards for the toX functions and removes the toBoolean function, since parseBoolean already exists.

functions.ts Outdated Show resolved Hide resolved
@jansule jansule merged commit cecc3dc into geostyler:master Jun 21, 2024
3 checks passed
@jansule
Copy link
Contributor Author

jansule commented Jun 25, 2024

🎉 This PR is included in version 9.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants