Skip to content

Commit e98c518

Browse files
committed
updates API docs for named maps
1 parent 5c8b3c0 commit e98c518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ One of two core classes for the Torque library - it is used to create an animate
6060

6161
| Method | options | returns | Description |
6262
|-----------|:-----------|:----------|:---------------------------------------|
63-
| ```setCartoCSS(cartocss)``` | ```cartocss string``` | ```this``` | style the map rendering using client-side cartocss |
63+
| ```setCartoCSS(cartocss)``` | ```cartocss string``` | ```this``` | style the map rendering using client-side cartocss (not available with named maps) |
6464

6565
The full CartoCSS spec is not supported by Torque but instead only a limited subset with some additions related to torque rendering. To see the full list of supported parameters, read the [Torque CartoCSS documentation](CartoCSS.md). ``value`` and ``zoom`` variables can be used. ``value`` is the value of aggregation (see ``countby`` constructor option). ``zoom`` is the current zoom being rendered
6666

@@ -89,7 +89,7 @@ This should be ```string``` encoded in Javascript.
8989
### Data methods
9090
| Method | options | returns | Description |
9191
|-----------|:-----------|:----------|:---------------------------------------|
92-
| ```setSQL(sql statement)``` | ```SQL string``` | ```this``` | Change the SQL on the data table |
92+
| ```setSQL(sql statement)``` | ```SQL string``` | ```this``` | Change the SQL on the data table (not available with named maps) |
9393
| ```error(callback)``` | ```callback function with a list of errors as argument``` | ```this``` | specifies a callback function to run if there are query errors |
9494

9595
##### SQL Example

0 commit comments

Comments
 (0)