continuing leaflet api doc style parameters table
This commit is contained in:
parent
7f0259f2fc
commit
604302eca5
14
doc/API.md
14
doc/API.md
@ -35,16 +35,20 @@ The core class of the Torque library - it is used to create a torque layer with
|
||||
##### Provider options
|
||||
| Option | type | Default | Description |
|
||||
|-----------|:----------|:----------|:---------------------------------------|
|
||||
| provider | string | sql_api | Where is the data coming from? Alternative is 'url_template'|
|
||||
| provider | string | ```sql_api``` | Where is the data coming from? Alternative is 'url_template'|
|
||||
|
||||
##### CartoDB data options
|
||||
| Option | type | Default | Description |
|
||||
|-----------|:----------|:----------|:---------------------------------------|
|
||||
| user | string | null | CartoDB account name. Found as, accountname.cartodb.com|
|
||||
| table | string | null | CartoDB table name where data is found |
|
||||
| column | string | null | CartoDB table's column name where date information is found (for dynamic type torque layer only)|
|
||||
| countby | string | null | The aggregation method to use for each pixel displayed where multiple data are found. Any valid PostgreSQL aggregate function |
|
||||
| user | string | ```null``` | CartoDB account name. Found as, accountname.cartodb.com|
|
||||
| table | string | ```null``` | CartoDB table name where data is found |
|
||||
| column | string | ```null``` | CartoDB table's column name where date information is found (for dynamic type torque layer only)|
|
||||
| countby | string | ```null``` | The aggregation method to use for each pixel displayed where multiple data are found. Any valid PostgreSQL aggregate function |
|
||||
|
||||
##### Visualization options
|
||||
| Option | type | Default | Description |
|
||||
|-----------|:----------|:----------|:---------------------------------------|
|
||||
| is_time | boolean | ```true``` | Where is the data coming from? Alternative is 'url_template'|
|
||||
|
||||
|
||||
provider: 'sql_api',
|
||||
|
Loading…
Reference in New Issue
Block a user