From 4a049eedce75fc462dab3ff037d963ebd24474e7 Mon Sep 17 00:00:00 2001 From: csubira Date: Mon, 26 Feb 2018 12:01:41 +0100 Subject: [PATCH] Fix title md and remove cartojs references in torque support section --- .../examples/01-torque-interaction-methods.md | 34 +++++++++---------- docs/examples/02-torque-time-slider.md | 10 +++--- docs/guides/01-getting-started.md | 6 ++-- docs/guides/02-CartoCSS.md | 17 +++++----- docs/reference/01-torque-api.md | 34 +++++++++---------- docs/support/01-support-options.md | 13 +++---- 6 files changed, 54 insertions(+), 60 deletions(-) diff --git a/docs/examples/01-torque-interaction-methods.md b/docs/examples/01-torque-interaction-methods.md index 3a9be2a..0bf97b5 100644 --- a/docs/examples/01-torque-interaction-methods.md +++ b/docs/examples/01-torque-interaction-methods.md @@ -1,14 +1,14 @@ -# Advanced Torque.js Interaction Methods +## Advanced Torque.js Interaction Methods -## Torque Layers +### Torque Layers While you can add multiple layers with Torque.js, this is not recommended as it effects performance. -### Torque Layer Source Object (_type: 'torque'_) +#### Torque Layer Source Object (_type: 'torque'_) This layer source object is used for Torque maps. Note that it does not allow sublayers. -#### Example +##### Example ```javascript { @@ -24,7 +24,7 @@ This layer source object is used for Torque maps. Note that it does not allow su ``` -## Interaction Methods for a Torque Layer +### Interaction Methods for a Torque Layer Used to create an animated torque layer with customized settings. @@ -37,46 +37,46 @@ var torqueLayer = new L.TorqueLayer({ }); ``` -### getValueForPos(_x, y[, step]_) +#### getValueForPos(_x, y[, step]_) -#### Arguments +##### Arguments Name | Description --- | --- `getValueForPos(_x, y[, step]_)` | Allows to get the value for the coordinate (in map reference system) for a concrete step. If a step is not specified, the animation step is used. Use caution, as this method increases CPU usage -#### Returns +##### Returns An object, such as a { bbox:[], value: VALUE } if there is value for the pos, otherwise, it is null. It returns the value from the raster data, not the rendered data. -### getValueForBBox(_xstart, ystart, xend, yend_) +#### getValueForBBox(_xstart, ystart, xend, yend_) -#### Arguments +##### Arguments Name | Description --- | --- `getValueForBBox(_xstart, ystart, xend, yend_)` | An accumulated numerical value from all the torque areas, within the specified bounds -#### Returns +##### Returns Returns a number. -### getActivePointsBBox(_step_) +#### getActivePointsBBox(_step_) -#### Arguments +##### Arguments Name | Description --- | --- `getActivePointsBBox(_step_)` | The list of bounding boxes active for `step` -#### Returns +##### Returns Returns a list of values. -### invalidate() +#### invalidate() -#### Arguments +##### Arguments Name | Description --- | --- @@ -84,7 +84,7 @@ Name | Description **Tip:** All of these interaction methods are available for Google Map layers, with the exception of `invalidate`. -#### Example of Interaction Methods for a Torque Layer +##### Example of Interaction Methods for a Torque Layer ```javascript . +If you just want to describe an issue or share an idea, just send your feedback ### Issues on Github - +If you think you may have found a bug, or if you have a feature request that you would like to share with the Torque team, please [open an issue](https://github.com/CartoDB/torque/issues/new). -If you think you may have found a bug, or if you have a feature request that you would like to share with the CARTO.js team, please [open an issue](https://github.com/cartodb/cartodb.js/issues/new). - -Before opening an issue, review the [contributing guidelines](https://github.com/CartoDB/cartodb.js/blob/develop/CONTRIBUTING.md#filling-a-ticket). +Before opening an issue, review the [contributing guidelines](https://github.com/CartoDB/torque/blob/master/CONTRIBUTING.md). ### Community support on GIS Stack Exchange - GIS Stack Exchange is the most popular community in the geospatial industry. This is a collaboratively-edited question and answer site for geospatial programmers and technicians. It is a fantastic resource for asking technical questions about developing and maintaining your application. -Members of the CARTO.js team regularly monitor the `carto` tag. You can look for CARTO topics by adding `carto` or `cartodb.js` to your search query. You can also add additional tags to your question in order to attract the attention of experts in related technologies. - When posting a new question, please consider the following: