Mapbox GL style functions are used to specify a property value that varies according to zoom level. This library implements the semantics of interpolated and piecewise-constant functions as specified by the Mapbox GL Style Specification.
Usage
var glfun = ;var exponential = ;; // => 1; // => 1; // => 5.5; // => 10; // => 10var interval = ;; // => 'a'; // => 'a'; // => 'a'; // => 'b'; // => 'c'var categorical = ;; // => 'a'; // => 'b'; // => 'c'