marker-fill: ramp([column_name], colorbrewer(Greens));
| |
v |
column to calculate ramp |
v
it will use a color ramp from http://colorbrewer2.org/
marker-fill: ramp([column_name], colorbrewer(YlGnBu, 7));
|
v
force number of classes
default: 5 classes
marker-fill: ramp([column_name], colorbrewer(Reds), jenks);
|
v
force quantification method
default: quantiles
marker-width: ramp([column_name], 4, 18);
| | |
v | |
column to calculate ramp | |
v |
start value for the ramp |
|
v
end value for the ramp
marker-width: ramp([column_name], 4, 18, equal);
|
v
force quantification method
default: quantiles
marker-width: ramp([column_name], 4, 18, 6);
|
v
force number of buckets
default: 5
marker-width: ramp([column_name], 4, 18, 6, jenks);
| |
v |
force number of classes |
v
force quantification method
CDB_QuantileBins
.CDB_EqualIntervalBins
.CDB_JenksBins
.CDB_HeadsTailsBins
.https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js
https://cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/codemirror.min.js
https://cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/mode/css/css.min.js
https://cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/mode/sql/sql.min.js