new GoIsobandsTool(layer, features, field, breaks, src)
Creates an instance of GoIsobandsTool.
| Name | Type | Description |
|---|---|---|
layer |
string |
The name of the layer to generate the isobands on. |
features |
Array.<Features.<Geometry>> |
The features used to generate the isobands. |
field |
string |
The field to use for generating the isobands. |
breaks |
Array.<number> |
optional
The array of break values for generating the isobands. |
src |
string |
optional
The source of the isobands data. |
Properties:
| Name | Type | Description |
|---|---|---|
isobandLayerMap |
Heatmap | VectorLayer.<VectorSource> | The Heatmap layer used for generating the isobands. |
layer |
string | The name of the layer to generate the isobands on. |
isoBandSource |
Vector | The source of the isobands data. |
field |
string | The field to use for generating the isobands. |
breaks |
Array.<number> | The array of break values for generating the isobands. |
colorHexGrid |
Array.<Array.<number>> | The color hex grid generated from the isobands. |
Methods
-
getLayer(){Heatmap|VectorLayer.<VectorSource>}
Interactions/Analysis/interact/DensityTools/GoIsobandsTool.ts, line 123 -
Returns layer
Returns:
Type Description Heatmap | VectorLayer.<VectorSource> Return a Isoband layer -
getLayerName(){string}
Interactions/Analysis/interact/DensityTools/GoIsobandsTool.ts, line 131 -
Get Isoband Layer name
Returns:
Type Description string Return the id of the layer -
getLayerType(){string}
Interactions/Analysis/interact/DensityTools/GoIsobandsTool.ts, line 139 -
Get Isoband Layer type
Returns:
Type Description string Return type of the layer -
setMaxResolution(maxResolution){void}
Interactions/Analysis/interact/DensityTools/GoIsobandsTool.ts, line 149 -
Set the max resolution
Name Type Description maxResolutionnumber Max resolution
Returns:
Type Description void Return nothing -
setMinResolution(minResolution){void}
Interactions/Analysis/interact/DensityTools/GoIsobandsTool.ts, line 159 -
Set the min resolution
Name Type Description minResolutionnumber Min resolution
Returns:
Type Description void Return nothing
