turbo-carto
Advanced tools
Comparing version 0.9.0 to 0.9.2
# Changelog | ||
## Version 0.9.1 | ||
Released 2016-mm-dd | ||
## Version 0.9.0 | ||
@@ -24,2 +28,3 @@ Released 2016-05-13 | ||
## Version 0.7.0 | ||
@@ -61,3 +66,3 @@ | ||
Number of buckets can be specified with a param in numeric ramps | ||
and with array lenght in color ramps | ||
and with array length in color ramps | ||
@@ -64,0 +69,0 @@ IMPORTANT: Backwards incompatible change |
@@ -8,2 +8,14 @@ # Quickstart | ||
```css | ||
marker-fill: ramp([column_name], (red, green, blue)); | ||
| | | ||
v | | ||
column to calculate ramp | | ||
v | ||
it will use a 3 buckets color ramp as provided | ||
``` | ||
### Basic usage with colorbrewer or cartocolor | ||
```css | ||
marker-fill: ramp([column_name], colorbrewer(Greens)); | ||
@@ -42,2 +54,16 @@ | | | ||
```css | ||
marker-width: ramp([column_name], (4, 8, 16, 32)); | ||
| | | ||
v | | ||
column to calculate ramp | | ||
| | ||
| | ||
| | ||
v | ||
provide the steps for the symbol sizes | ||
``` | ||
### Basic usage with interpolation for symbol size | ||
```css | ||
marker-width: ramp([column_name], 4, 18); | ||
@@ -44,0 +70,0 @@ | | | |
{ | ||
"name": "turbo-carto", | ||
"version": "0.9.0", | ||
"version": "0.9.2", | ||
"description": "CartoCSS preprocessor", | ||
@@ -24,3 +24,3 @@ "main": "src/index.js", | ||
"colorbrewer": "1.0.0", | ||
"cartocolor": "1.0.2", | ||
"cartocolor": "1.1.0", | ||
"debug": "2.2.0", | ||
@@ -27,0 +27,0 @@ "es6-promise": "3.1.2", |
52877
+ Addedcartocolor@1.1.0(transitive)
- Removedcartocolor@1.0.2(transitive)
Updatedcartocolor@1.1.0