-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: review and improve references (#110)
- Loading branch information
Showing
7 changed files
with
116 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Core | ||
|
||
## aggregationFunctions ⇒ <code>Object</code> | ||
|
||
Contains aggregation functions for widgets and layers, see [AggregationTypes](#aggregationtypes) | ||
|
||
**Returns**: <code>Object</code> - Aggregation functions | ||
|
||
## groupValuesByColumn ⇒ <code>Array</code> | ||
|
||
Makes groups from features based in a operation | ||
|
||
**Returns**: <code>Array</code> - Grouped values | ||
|
||
| Param | Type | Default | Description | | ||
| ------- | ------------------- | --------- | ------------------------------------ | | ||
| data | <code>Array</code> | | Features for calculations | | ||
| valuesColumn | <code>string</code> | | Quantitative column for grouping | | ||
| keysColumn | <code>string</code> | | Qualitative column for grouping | | ||
| operation | <code>string</code> | | Operation for groups calculations, see [AggregationTypes](#aggregationtypes) | | ||
|
||
## histogram ⇒ <code>Array</code> | ||
|
||
Makes an array of numeric values as histogram data from features | ||
|
||
**Returns**: <code>Array</code> - Histogram data | ||
|
||
| Param | Type | Default | Description | | ||
| ------- | ------------------- | --------- | ------------------------------------ | | ||
| features | <code>Array</code> | | Features for calculations | | ||
| columnName | <code>string</code> | | Qualitative column for grouping | | ||
| ticks | <code>Array</code> | | Array of numeric intervals | | ||
| operation | <code>string</code> | | Operation for groups calculations, see [AggregationTypes](#aggregationtypes) | | ||
|
||
## viewportFeatures ⇒ <code>Array</code> | ||
|
||
Handles all tiles features and returns the current viewport ones | ||
|
||
**Returns**: <code>Array</code> - Features in viewport | ||
|
||
| Param | Type | Default | Description | | ||
| ------- | ------------------- | --------- | ------------------------------------ | | ||
| tiles | <code>Array</code> | | deck.gl tiles | | ||
| viewport | <code>Array</code> | | Viewport bounds | | ||
| uniqueIdProperty | <code>string</code> | | Unique feature id property | | ||
|
||
## AggregationTypes | ||
|
||
Enum for the different types of aggregations available for widgets | ||
|
||
**Kind**: global enum | ||
**Read only**: true | ||
|
||
<dl> | ||
<dt><a href="#COUNT">COUNT</a></dt> | ||
<dd><p>Count</p> | ||
</dd> | ||
<dt><a href="#AVG">AVG</a></dt> | ||
<dd><p>Average</p> | ||
</dd> | ||
<dt><a href="#MIN">MIN</a></dt> | ||
<dd><p>Minimum</p> | ||
</dd> | ||
<dt><a href="#MAX">MAX</a></dt> | ||
<dd><p>Maximum</p> | ||
</dd> | ||
<dt><a href="#SUM">SUM</a></dt> | ||
<dd><p>Sum</p> | ||
</dd> | ||
</dl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters