Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cartodb/tangram-reference
⛔️ DEPRECATED Reference for Tangram Styling Options
https://github.com/cartodb/tangram-reference
archived deprecated obsolete
Last synced: 8 days ago
JSON representation
⛔️ DEPRECATED Reference for Tangram Styling Options
- Host: GitHub
- URL: https://github.com/cartodb/tangram-reference
- Owner: CartoDB
- License: unlicense
- Created: 2016-11-21T08:34:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T11:42:24.000Z (almost 7 years ago)
- Last Synced: 2024-11-07T09:14:31.569Z (about 2 months ago)
- Topics: archived, deprecated, obsolete
- Language: JavaScript
- Homepage:
- Size: 664 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [DEPRECATED] Tangram-reference [![Build Status](https://travis-ci.org/CartoDB/tangram-reference.svg?branch=unsupported-properties)](https://travis-ci.org/CartoDB/tangram-reference) ![No Maintenance Intended](https://img.shields.io/badge/No%20Maintenance%20Intended-%E2%9C%95-red.svg)
This is no longer supported.
Tangram-reference is a JSON specification of the CartoCSS vendor style options that [Torque](https://github.com/CartoDB/torque) provides. Inspired by [mapnik-reference](https://github.com/mapnik/mapnik-reference), *it is useful for building parsers, tests, compilers, and syntax highlighting/checking for languages.*
## Meaning
The structure of the file is as such:
* `version`: the version of Torque targeted. Same as the containing directory.
* `style`: properties of the `Style` XML element
* `layer`: properties of the `Layer` XML element
* `symbolizers/*`: properties that apply to **all** symbolizers
* `colors`: named colors supported by Torque## Using
This is a valid [npm](http://npmjs.org/) module and therefore can easily be used with
[node.js](http://nodejs.org/).npm install tangram-reference
The file can then be parsed with any of the many [json parsers](http://www.json.org/).
## Testing
```
npm test
```