geostyler-style
v9.1.0
Published
[![Lint & Docs (main)](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml/badge.svg)](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml) [![Create & publish versioned documentation](https://github
Downloads
27,169
Maintainers
Keywords
Readme
geostyler-style
TypeScript Declaration File for the GeoStyler Style.
Documentation
https://geostyler.github.io/geostyler-style/docs/main/
Why another style format?
The Geostyler Style is not primarily intended to be a new standard for styling geographic data.
The main task of the format is to be an exchange format for all the other standards. It should be capable of storing the styling possibilities of SLD, OpenLayers-Styles, MapBox-Styles, CartoCSS (and others) while being easily read- and writable.
On the other hand it is used by the GeoStyler to build the UI components. This way you should be able to configure any type of style via UI and also translate between all supported formats (in theory :grin:).
TypeGuards
In addition to the definition itself, there are some custom TypeGuards that can be used as utility methods to enhance the coding experience with the geostyler-style.
import { isFilter, isSymbolizer } from 'geostyler-style/dist/typeguards';
Funding & financial sponsorship
Maintenance and further development of this code can be funded through the GeoStyler Open Collective. All contributions and expenses can transparently be reviewed by anyone; you see what we use the donated money for. Thank you for any financial support you give the GeoStyler project 💞