UNPKG

@mapwhit/style-expressions

Version:
36 lines (23 loc) 1.2 kB
[![NPM version][npm-image]][npm-url] [![Build Status][build-image]][build-url] [![Dependency Status][deps-image]][deps-url] # @mapwhit/style-expressions Module to process expressions in map style. Based on the code for expressions processing in [maplibre-gl-js] (an open-source fork of [mapbox-gl-js], before their switch to a non-OSS license in December 2020.) ## Install ```sh $ npm install --save @mapwhit/style-expressions ``` ## Usage ```js const styleExpressions = require('@mapwhit/style-expressions'); ``` ## License BSD-3-Clause © [Natalia Kowalczyk](https://melitele.me) [npm-image]: https://img.shields.io/npm/v/@mapwhit/style-expressions [npm-url]: https://npmjs.org/package/@mapwhit/style-expressions [build-url]: https://github.com/mapwhit/style-expressions/actions/workflows/check.yaml [build-image]: https://img.shields.io/github/actions/workflow/status/mapwhit/style-expressions/check.yaml?branch=main [deps-image]: https://img.shields.io/librariesio/release/npm/@mapwhit/style-expressions [deps-url]: https://libraries.io/npm/@mapwhit%2Fstyle-expressions [mapbox-gl-js]: https://github.com/mapbox/mapbox-gl-js [maplibre-gl-js]: https://github.com/maplibre/maplibre-gl-js