new IDW( [options])
Parameters:
Name | Type | Argument | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
* |
<optional> |
Properties
|
Extends
- ol.source.ImageCanvas
Methods
-
computeImage(e)
-
Compute image data
Parameters:
Name Type Description e
Object -
getColor(v)
-
Get color for a value. Return an array of RGBA values.
Parameters:
Name Type Description v
number value
Returns:
- Type
- Array.<number>
-
getSource()
-
Get the source
-
getValue(v, data, i, coord)
-
Apply the value to the map RGB. Overwrite this function to set your own colors.
Parameters:
Name Type Description v
number value
data
Uint8ClampedArray RGBA array
i
number index in the RGBA array
coord
l.coordinate Returns:
- Type
- Uint8ClampedArray