diff --git a/doc/API.md b/doc/API.md index 8180f1c..53e73b3 100644 --- a/doc/API.md +++ b/doc/API.md @@ -105,6 +105,7 @@ torqueLayer.setSQL("SELECT * FROM table LIMIT 100"); | ```getValueForPos(x, y[, step])```| | an object like { bbox:[], value: VALUE } if there is value for the pos, null otherwise | allows to get the value for the coordinate (in map reference system) for a concrete step. If step is not specified the animation one is used. This method is expensive in terms of CPU so be careful. It returns the value from the raster data not the rendered data | | ```getValueForBBox(xstart, ystart, xend, yend)```| | a number | returns an accumulated numerical value from all the torque areas within the specified bounds | | ```getActivePointsBBox(step)```| | list of bbox | returns the list of bounding boxes active for ``step`` +| ```getValues(step)```| | list of values| returns the list of values for the pixels active in ``step`` | ```invalidate()```| | | forces a reload of the layer data. ### Interaction methods (only available for Leaflet)