adds zoom and value to examples

This commit is contained in:
Francisco Dans 2016-01-14 12:12:33 +01:00
parent 990c52999a
commit cd9e1a3457

View File

@ -98,6 +98,12 @@ Map {
marker-fill-opacity: 0.8; marker-fill-opacity: 0.8;
marker-fill: #FEE391; marker-fill: #FEE391;
} }
#layer[value = 4] { // Use of the value variable, generated by the function specified in -torque-aggregation-function
marker-fill: #FABADA;
}
#layer[zoom = 12] { // Use of the zoom variable
marker-width: 10;
}
``` ```
### Data Methods ### Data Methods