Constructor
new DotDensityCreator()
Quantile classification method concrete class
- Source:
Methods
createMap(map, vectorSource, colorPerClass, featureToDisplay, featureLayer, selectedValue, isDiscrete, numberOfClasses, classArray)
Creates a dot density map layer and adds it to the map.
Parameters:
Name | Type | Description |
---|---|---|
map |
ol.map | The map |
vectorSource |
ol.source | The vector source |
colorPerClass |
Array.<Array.<number>> | The color per class (hue,saturation,luminosity) |
featureToDisplay |
string | The feature to display |
featureLayer |
ol.layer | The feature layer |
selectedValue |
string | The selected value |
isDiscrete |
boolean | Indicates if discrete |
numberOfClasses |
int | The number of classes |
classArray |
Array.<number> | The class of each feature, corresponding by index |
- Source: