documentation for getValues
This commit is contained in:
parent
ff269a5ecf
commit
d4bbfb7431
@ -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 |
|
| ```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 |
|
| ```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``
|
| ```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.
|
| ```invalidate()```| | | forces a reload of the layer data.
|
||||||
|
|
||||||
### Interaction methods (only available for Leaflet)
|
### Interaction methods (only available for Leaflet)
|
||||||
|
Loading…
Reference in New Issue
Block a user