geostyler / geostyler-style

Style declaration files for the GeoStyler project
https://geostyler.github.io/geostyler-style/docs/master/
BSD 2-Clause "Simplified" License
16 stars 15 forks source link

feat: add interpolate function #632

Closed jansule closed 2 weeks ago

jansule commented 2 weeks ago

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.

jansule commented 1 week ago

:tada: This PR is included in version 9.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: