|
|
@@ -70,7 +70,7 @@ const nuts2style = new Style({
|
|
|
});
|
|
|
|
|
|
const nuts3style = function (feature) {
|
|
|
- if (isNaN(feature.get('km25.cluster'))) {
|
|
|
+ if (isNaN(feature.get('haclust'))) {
|
|
|
return [
|
|
|
new Style({
|
|
|
fill: new Fill({
|
|
|
@@ -86,7 +86,7 @@ const nuts3style = function (feature) {
|
|
|
return [
|
|
|
new Style({
|
|
|
fill: new Fill({
|
|
|
- color: randomColorPalette[feature.get('km25.cluster') - 1],
|
|
|
+ color: randomColorPalette[feature.get('haclust') - 1],
|
|
|
}),
|
|
|
}),
|
|
|
];
|